summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-11 15:29:05 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-11 15:29:05 +0200
commitd64c608820ddb4817ef7dff1f993a5801ff99ca2 (patch)
tree9663570286e2305ea6d0f9b59d2c429a65c56e52 /system.h
parent5d4ed8a855022394bc002c42f42b1656c2cba06f (diff)
downloadnetifd-d64c608820ddb4817ef7dff1f993a5801ff99ca2.tar.gz
implement a new ubus object "network.device", add a method for dumping detailed device information
Diffstat (limited to 'system.h')
-rw-r--r--system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system.h b/system.h
index 392e46b..4155281 100644
--- a/system.h
+++ b/system.h
@@ -37,6 +37,7 @@ void system_if_clear_state(struct device *dev);
int system_if_up(struct device *dev);
int system_if_down(struct device *dev);
int system_if_check(struct device *dev);
+int system_if_dump_stats(struct device *dev, struct blob_buf *b);
int system_add_address(struct device *dev, struct device_addr *addr);
int system_del_address(struct device *dev, struct device_addr *addr);