+struct interface_user {
+ struct list_head list;
+ struct interface *iface;
+ void (*cb)(struct interface_user *dep, struct interface *iface, enum interface_event ev);
+};
+
+struct interface_ip_settings {
+ struct interface *iface;
+ bool enabled;
+ bool no_defaultroute;
+ bool no_dns;
+
+ struct vlist_tree addr;
+ struct vlist_tree route;
+ struct vlist_tree prefix;
+
+ struct vlist_simple_tree dns_servers;
+ struct vlist_simple_tree dns_search;
+};
+
+struct interface_data {
+ struct avl_node node;
+ struct blob_attr data[];
+};
+
+struct interface_assignment_class {
+ struct list_head head;
+ char name[];
+};
+