svn commit: samba r12709 - in branches/tmp/jpeach-cluster/source: include lib libsmb nmbd nsswitch smbd utils

jpeach at samba.org jpeach at samba.org
Wed Jan 4 02:53:55 GMT 2006


Author: jpeach
Date: 2006-01-04 02:53:53 +0000 (Wed, 04 Jan 2006)
New Revision: 12709

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12709

Log:
Refactor the network interfaces code.

The primary goal of this is to enable smbd and friends to manipulate
all interfaces, but only listen and send packets on a subset of them.
This introduces the concept of an ignored interface, which is one that
is present in the system but not listed in the "interfaces" parameter.

This also tides the interfaces API, which is now fully contained in
interfaces.h. We have more consistent naming and have moved a few steps
closer to making network interfaces an opaque data type.

This retains existing behaviour WRT the necessity of specifying the
"bind interfaces only" parameter to give effect to the "interfaces" parameter.  --This line, and those below, will be ignored--

M    jpeach-cluster/source/smbd/server.c
M    jpeach-cluster/source/nsswitch/winbindd_wins.c
M    jpeach-cluster/source/nsswitch/wins.c
M    jpeach-cluster/source/lib/interface.c
M    jpeach-cluster/source/lib/access.c
M    jpeach-cluster/source/lib/interfaces.c
M    jpeach-cluster/source/libsmb/namequery.c
M    jpeach-cluster/source/nmbd/nmbd_subnetdb.c
M    jpeach-cluster/source/nmbd/nmbd_become_dmb.c
M    jpeach-cluster/source/nmbd/nmbd.c
M    jpeach-cluster/source/nmbd/nmbd_packets.c
M    jpeach-cluster/source/include/interfaces.h
M    jpeach-cluster/source/include/smb.h
M    jpeach-cluster/source/utils/nmblookup.c

Modified:
   branches/tmp/jpeach-cluster/source/include/interfaces.h
   branches/tmp/jpeach-cluster/source/include/smb.h
   branches/tmp/jpeach-cluster/source/lib/access.c
   branches/tmp/jpeach-cluster/source/lib/interface.c
   branches/tmp/jpeach-cluster/source/lib/interfaces.c
   branches/tmp/jpeach-cluster/source/libsmb/namequery.c
   branches/tmp/jpeach-cluster/source/nmbd/nmbd.c
   branches/tmp/jpeach-cluster/source/nmbd/nmbd_become_dmb.c
   branches/tmp/jpeach-cluster/source/nmbd/nmbd_packets.c
   branches/tmp/jpeach-cluster/source/nmbd/nmbd_subnetdb.c
   branches/tmp/jpeach-cluster/source/nsswitch/winbindd_wins.c
   branches/tmp/jpeach-cluster/source/nsswitch/wins.c
   branches/tmp/jpeach-cluster/source/smbd/server.c
   branches/tmp/jpeach-cluster/source/utils/nmblookup.c


Changeset:
Sorry, the patch is too large (1212 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12709


More information about the samba-cvs mailing list