summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index 057f0d0..23782ad 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -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