summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-12 23:25:21 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-07-12 23:25:21 +0200
commite4285cdc1bda303b01bbf2a43340d3f40f477820 (patch)
tree616ece985939699ba363a52da81162785918cf44 /system.h
parentf096d021fb4119a449a7980e1667c2033491dba7 (diff)
downloadnetifd-e4285cdc1bda303b01bbf2a43340d3f40f477820.tar.gz
expose system_if_apply_settings, make it ignore the mac address for external devices
Diffstat (limited to 'system.h')
-rw-r--r--system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system.h b/system.h
index 5e275ca..701e44a 100644
--- a/system.h
+++ b/system.h
@@ -67,6 +67,8 @@ 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);
bool system_if_force_external(const char *ifname);
+void system_if_apply_settings(struct device *dev, struct device_settings *s);
+
int system_add_address(struct device *dev, struct device_addr *addr);
int system_del_address(struct device *dev, struct device_addr *addr);