add some code for keeping track of dns servers and search domains and for writing...
[project/netifd.git] / interface-ip.h
index 057f0d0..23782ad 100644 (file)
@@ -43,6 +43,19 @@ struct device_route {
        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_clear_dns(struct interface *iface);
+void interface_write_resolv_conf(void);
 
 #endif