summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-19 17:14:52 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-01-19 17:14:52 +0100
commitfcbec58e1494281dfeb2f19576c52667a512fad2 (patch)
treef302b217dc2f0d81ad2c39e6430f34420b26ff8f /system.h
parent395891b0e4c67591523dd0e2c2ac0c8aa22e88e7 (diff)
downloadnetifd-fcbec58e1494281dfeb2f19576c52667a512fad2.tar.gz
export carrier status in device stats
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 639dbc8..6de6b08 100644
--- a/system.h
+++ b/system.h
@@ -38,6 +38,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_info(struct device *dev, struct blob_buf *b);
int system_if_dump_stats(struct device *dev, struct blob_buf *b);
struct device *system_if_get_parent(struct device *dev);