summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/interface.h b/interface.h
index 92bae5a..e3b5ff7 100644
--- a/interface.h
+++ b/interface.h
@@ -55,9 +55,11 @@ struct interface {
};
struct interface *get_interface(const char *name);
-struct interface *alloc_interface(const char *name);
+struct interface *alloc_interface(const char *name, struct uci_section *s);
void free_interface(struct interface *iface);
+void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);
+
int set_interface_up(struct interface *iface);
int set_interface_down(struct interface *iface);