diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 05:46:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:08 -0500 |
commit | 475c958450c863a8fc530ccf5bb712bd7a6e8aa4 (patch) | |
tree | 08d9d560320bf4310569f77d701ab838dbb9196d /source4/lib | |
parent | 37fffa54cf7edb208dcb060c642f5b0acf11d4e6 (diff) | |
download | samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.gz samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.bz2 samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.zip |
r3425: got rid of a bunch of cruft from rewrite.h
(This used to be commit 3f902f8d851d32fa81d89ed61bfda6edaea00984)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/interface.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/interface.c b/source4/lib/interface.c index b842fbb292..72568912af 100644 --- a/source4/lib/interface.c +++ b/source4/lib/interface.c @@ -26,6 +26,14 @@ static int total_probed; static struct in_addr allones_ip; struct in_addr loopback_ip; +/* used for network interfaces */ +struct interface { + struct interface *next, *prev; + struct in_addr ip; + struct in_addr bcast; + struct in_addr nmask; +}; + static struct interface *local_interfaces; #define ALLONES ((uint32_t)0xFFFFFFFF) |