X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system.h;h=701e44a89ca7c2357d8b96556bcfa865a846ed26;hp=a197590eadf41ca03437405737d0e47b39c051bc;hb=c153c9fa422da41fc6acd07dc5336b4abb6b1814;hpb=bfe5db1ea8018aaa940dc6e991110fac62b85516 diff --git a/system.h b/system.h index a197590..701e44a 100644 --- a/system.h +++ b/system.h @@ -24,6 +24,8 @@ enum tunnel_param { TUNNEL_ATTR_REMOTE, TUNNEL_ATTR_LOCAL, TUNNEL_ATTR_TTL, + TUNNEL_ATTR_6RD_PREFIX, + TUNNEL_ATTR_6RD_RELAY_PREFIX, __TUNNEL_ATTR_MAX }; @@ -64,6 +66,9 @@ 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); +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);