summaryrefslogtreecommitdiff
path: root/source4/lib/socket/netif.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08lib/socket move interfaces code to the top levelAndrew Bartlett1-314/+0
2011-05-08s4-lib merge get_interfaces() from Samba3 to Samba4Andrew Bartlett1-19/+206
2010-02-13s4-socket: use TYPESAFE_QSORT() in netif codeAndrew Tridgell1-1/+2
2007-12-21r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij1-347/+1
for platforms that don't have it in lib/replace. (This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)
2007-12-21r26405: Import support for getifaddrs from Samba3.Jelmer Vernooij1-1/+62
(This used to be commit 5827b7460a058e8565a406f1c3533e5f589674b5)
2007-12-21r26404: Disable socket wrapper for the interface detection code to work ↵Jelmer Vernooij1-0/+1
around the fact that the ioctls for enumerating interfaces are not very reliable when used on unix domain sockets. Ideally, we should be implementing the SIOCGIFCONF and SIOCGIFADDR ioctls in socket wrapper. (This used to be commit 035c4831003d5b5310f0874e712ef66ba3e78e34)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r18708: much nicer fixStefan Metzmacher1-2/+1
metze (This used to be commit 8999a9eb2e7f3e8e4ff8f5311b9375bde590f2a5)
2007-10-10r18704: readd BOOL define to fix the buildStefan Metzmacher1-0/+1
but I think this is the wrong fix... metze (This used to be commit 018b142d93ba2d36cd68db407e4a591461137b9b)
2007-10-10r18685: we don't need this hereStefan Metzmacher1-1/+0
metze (This used to be commit cc729e646c5e3cb7919d033f90bda1dce545ff6b)
2007-10-10r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.Andrew Tridgell1-4/+7
(This used to be commit ac71f40f8ff13c422e528dd5013842aa5a5004e7)
2007-10-10r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are ↵Stefan Metzmacher1-3/+9
defined try to find the problem on Tru64...where configure says the AIX method finds 1 interface but later can't compile netif.c. (revision 18486 was the last that detects ifconf with 2 interfaces) metze (This used to be commit 8fa9852160680054ddb5316c4ee03a03f8553a37)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-0/+403
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)