X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=interface.h;h=9708a5e4113230dba9fe45ade8fa81926fd85e68;hp=020306c36c9c6d6705e94c5222a496d91df59d3a;hb=98565127c60cba3d5b747bb9eb698e06d187f45b;hpb=8ddaf5d7688b14590f283b2ebb81f78326fb39fd diff --git a/interface.h b/interface.h index 020306c..9708a5e 100644 --- a/interface.h +++ b/interface.h @@ -44,7 +44,7 @@ struct interface { struct device_user main_dev; /* interface that layer 3 communication will go through */ - struct device_user *l3_iface; + struct device_user *l3_dev; struct config_state config; @@ -69,6 +69,7 @@ void interface_free(struct interface *iface); void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state); +void interface_set_available(struct interface *iface, bool new_state); int interface_set_up(struct interface *iface); int interface_set_down(struct interface *iface);