X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=interface.h;h=efd356055acd45afafaed6361d82bf257fa8f8ea;hb=a02432a5ecbb588964a1800122a213822da96f3c;hp=8c7b3474069d343200b15796d6b5b6ac15563ec4;hpb=69c5043fdcea724f59055630eb0cf593c41732cb;p=project%2Fnetifd.git diff --git a/interface.h b/interface.h index 8c7b347..efd3560 100644 --- a/interface.h +++ b/interface.h @@ -86,6 +86,7 @@ struct interface { bool available; bool autostart; bool config_autostart; + bool device_config; time_t start_time; enum interface_state state; @@ -93,6 +94,9 @@ struct interface { struct list_head users; + const char *parent_ifname; + struct interface_user parent_iface; + /* main interface that the interface is bound to */ struct device_user main_dev; @@ -128,6 +132,7 @@ void interface_init(struct interface *iface, const char *name, struct blob_attr *config); void interface_add(struct interface *iface, struct blob_attr *config); +bool interface_add_alias(struct interface *iface, struct blob_attr *config); void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);