union if_addr addr;
};
+struct dns_server {
+ struct list_head list;
+ int af;
+ union if_addr addr;
+};
+
+struct dns_search_domain {
+ struct list_head list;
+ char name[];
+};
+
void interface_ip_init(struct interface *iface);
+void interface_add_dns_server(struct interface *iface, const char *str);
+void interface_add_dns_server_list(struct interface *iface, struct blob_attr *list);
+void interface_add_dns_search_list(struct interface *iface, struct blob_attr *list);
+void interface_clear_dns(struct interface *iface);
+void interface_write_resolv_conf(void);
+
+void interface_ip_update_start(struct interface *iface);
+void interface_ip_update_complete(struct interface *iface);
+
#endif