summaryrefslogtreecommitdiff
path: root/source4/lib/socket/netif.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-02 12:09:19 +1000
committerAndrew Tridgell <tridge@samba.org>2011-05-08 12:57:03 +0200
commit5a8b6ac4c0ea88bdab12349830985560c69cbf8c (patch)
treec9d71555f2ae3c0211c509ec6214dafa5245d0e8 /source4/lib/socket/netif.h
parent45e26fdeec4c6d3c4e75d648399ce2a8b3e26364 (diff)
downloadsamba-5a8b6ac4c0ea88bdab12349830985560c69cbf8c.tar.gz
s4-lib merge get_interfaces() from Samba3 to Samba4
Diffstat (limited to 'source4/lib/socket/netif.h')
-rw-r--r--source4/lib/socket/netif.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/socket/netif.h b/source4/lib/socket/netif.h
index 417c6e074fd..6a06c4bf15e 100644
--- a/source4/lib/socket/netif.h
+++ b/source4/lib/socket/netif.h
@@ -23,8 +23,10 @@
struct iface_struct {
char name[16];
- struct in_addr ip;
- struct in_addr netmask;
+ int flags;
+ struct sockaddr_storage ip;
+ struct sockaddr_storage netmask;
+ struct sockaddr_storage bcast;
};
struct interface;