summaryrefslogtreecommitdiff
path: root/source4/lib/socket
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-2/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2-61/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-1/+1
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-2/+2
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-2/+2
2010-10-23s4: Rename LIBNETIF to libnetif.Jelmer Vernooij1-24/+20
2010-10-23s4 socket: increase the debuglevel to make add interface debug messages less ↵Kai Blin1-1/+1
verbose
2010-10-21s4-socket: make LIBNETIF a private libraryAndrew Tridgell1-5/+6
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-2/+2
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-04-12s4-waf: inline LIBREPLACE_NETWORK into 'replace'Stefan Metzmacher1-3/+3
metze
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-3/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: more dependencies on tallocAndrew Tridgell1-1/+1
these are needed so we can support a system talloc without using the bundled talloc.h
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-2/+2
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+33
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell3-0/+3
These were causing thousands of warnings on solaris8
2010-03-11s4:lib/socket Don't go via a string when resolving addresses in connect_multiAndrew Bartlett1-28/+20
This also removes the special case for IP addresses, and leaves that to the code in the resolver library. Andrew Bartlett
2010-03-11s4:lib/socket Add function to set a port on the socket addressAndrew Bartlett2-0/+14
2010-02-13s4-socket: use TYPESAFE_QSORT() in netif codeAndrew Tridgell1-1/+2
2009-12-24s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address ↵Stefan Metzmacher2-0/+32
instead of a socket_address metze
2009-12-24s4:lib/socket: add helpers functions to convert between socket_address and ↵Stefan Metzmacher3-1/+48
tsocket_address metze
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-1/+1
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-02-13s4:lib/socket: add socket_address_copy()Stefan Metzmacher2-0/+35
metze
2009-02-12Fix Coverity ID 871 -- do not dereference "sp" before checking for NULLVolker Lendecke1-1/+3
2009-02-02s4:lib/socket: s/private/private_dataStefan Metzmacher1-3/+3
metze
2009-01-30s4:lib/socket: don't use gethostbyname2()Stefan Metzmacher2-9/+25
metze
2009-01-03s4:socket: use a socket_wrapper aware function to auto close the fd event ↵Stefan Metzmacher2-0/+15
for sockets metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher4-19/+19
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-24Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij1-4/+4
warnings.
2008-12-18s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵Stefan Metzmacher4-45/+5
wrok with addresses metze
2008-12-17s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵Stefan Metzmacher2-2/+2
remote server metze
2008-12-17s4:lib/socket: remove unused codeStefan Metzmacher1-22/+0
metze
2008-12-17s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher1-2/+1
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
2008-11-02Use environment variable rather than loadparm parameter when testingJelmer Vernooij1-1/+1
nonblocking sockets.
2008-11-02Fix the build.Jelmer Vernooij1-3/+1
2008-11-02Use a separate global for nonblocking socket testing rather than ↵Jelmer Vernooij2-1/+5
global_loadparm.
2008-10-24Remove unused include param/param.h.Jelmer Vernooij3-3/+0
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-1/+1
2008-10-23Rename same_net to same_net_v4 for consistency with Samba 3.Jelmer Vernooij1-3/+3
2008-10-12Fix warning, prototype.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-05-21lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKSStefan Metzmacher1-11/+5
metze (This used to be commit 76be51d3a08e2239a137b8abe3f2df722f69ddb2)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-1/+2
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-4/+4
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-05-16lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and ↵Stefan Metzmacher1-25/+3
HAVE_UNIXSOCKET and rely on libreplace metze (This used to be commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad)
2008-05-16lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher1-10/+0
metze (This used to be commit 1c7905cfb4c77edeb24ac612a544e777cf49e184)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-1/+1
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)