summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-26 20:12:32 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-26 20:12:32 +0200
commit10741b4974b85c825036eb0717ddc7112f96f5fb (patch)
tree2831132c400ca34a3d934cd3e00af81ec039d96e /system.h
parent73ea0284506a62324d7b7c92ec4982c2c5aff3b9 (diff)
recognize stacked interfaces (e.g. dsa) and handle their dependencies
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 dee7137..639dbc8 100644
--- a/system.h
+++ b/system.h
@@ -39,6 +39,7 @@ 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);
+struct device *system_if_get_parent(struct device *dev);
int system_add_address(struct device *dev, struct device_addr *addr);
int system_del_address(struct device *dev, struct device_addr *addr);