summaryrefslogtreecommitdiff
path: root/source4/lib/socket/netif.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-02 13:02:17 +1000
committerAndrew Tridgell <tridge@samba.org>2011-05-08 12:57:04 +0200
commitf346a737855bb5018978f0fcf1dcafbf5dc7e603 (patch)
tree9e4c805a71d5d0aeec62033cd4cbedb920a3a941 /source4/lib/socket/netif.h
parent879498b3622102630a5ade8d7d5421720f6fd7c6 (diff)
downloadsamba-f346a737855bb5018978f0fcf1dcafbf5dc7e603.tar.gz
samba-f346a737855bb5018978f0fcf1dcafbf5dc7e603.tar.bz2
samba-f346a737855bb5018978f0fcf1dcafbf5dc7e603.zip
lib/socket move interfaces code to the top level
Diffstat (limited to 'source4/lib/socket/netif.h')
-rw-r--r--source4/lib/socket/netif.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/source4/lib/socket/netif.h b/source4/lib/socket/netif.h
index 6a06c4bf15..1d90a4fd13 100644
--- a/source4/lib/socket/netif.h
+++ b/source4/lib/socket/netif.h
@@ -20,19 +20,5 @@
*/
#include "system/network.h"
-
-struct iface_struct {
- char name[16];
- int flags;
- struct sockaddr_storage ip;
- struct sockaddr_storage netmask;
- struct sockaddr_storage bcast;
-};
-
-struct interface;
-
-#define MAX_INTERFACES 128
-
-#ifndef AUTOCONF_TEST
+#include "lib/socket/interfaces.h"
#include "lib/socket/netif_proto.h"
-#endif