}
static void
-__set_interface_down(struct interface *iface, bool force)
+__interface_set_down(struct interface *iface, bool force)
{
clear_interface_errors(iface);
if (iface->autostart && !config_init)
interface_set_up(iface);
} else
- __set_interface_down(iface, true);
+ __interface_set_down(iface, true);
}
static void
}
int
-set_interface_down(struct interface *iface)
+interface_set_down(struct interface *iface)
{
iface->autostart = false;
- __set_interface_down(iface, false);
+ __interface_set_down(iface, false);
return 0;
}
void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);
int interface_set_up(struct interface *iface);
-int set_interface_down(struct interface *iface);
+int interface_set_down(struct interface *iface);
int interface_add_link(struct interface *iface, struct device *llif);
void interface_remove_link(struct interface *iface, struct device *llif);
struct interface *iface;
iface = container_of(obj, struct interface, ubus);
- set_interface_down(iface);
+ interface_set_down(iface);
return 0;
}