Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-11 | s4:lib/socket Don't go via a string when resolving addresses in connect_multi | Andrew Bartlett | 1 | -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-11 | s4:lib/socket Add function to set a port on the socket address | Andrew Bartlett | 2 | -0/+14 | |
2010-02-13 | s4-socket: use TYPESAFE_QSORT() in netif code | Andrew Tridgell | 1 | -1/+2 | |
2009-12-24 | s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address ↵ | Stefan Metzmacher | 2 | -0/+32 | |
instead of a socket_address metze | |||||
2009-12-24 | s4:lib/socket: add helpers functions to convert between socket_address and ↵ | Stefan Metzmacher | 3 | -1/+48 | |
tsocket_address metze | |||||
2009-10-02 | s4: fix various warnings (not "const" related ones) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-19 | s4-resolve: fixed a crash bug on timeout | Andrew Tridgell | 1 | -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-13 | s4:lib/socket: add socket_address_copy() | Stefan Metzmacher | 2 | -0/+35 | |
metze | |||||
2009-02-12 | Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL | Volker Lendecke | 1 | -1/+3 | |
2009-02-02 | s4:lib/socket: s/private/private_data | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-01-30 | s4:lib/socket: don't use gethostbyname2() | Stefan Metzmacher | 2 | -9/+25 | |
metze | |||||
2009-01-03 | s4:socket: use a socket_wrapper aware function to auto close the fd event ↵ | Stefan Metzmacher | 2 | -0/+15 | |
for sockets metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 4 | -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-24 | Rename samba-socket -> samba_socket to fix a couple more compiler | Jelmer Vernooij | 1 | -4/+4 | |
warnings. | |||||
2008-12-18 | s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵ | Stefan Metzmacher | 4 | -45/+5 | |
wrok with addresses metze | |||||
2008-12-17 | s4:lib/socket: we need to lookup the #20 netbios name when we connect to a ↵ | Stefan Metzmacher | 2 | -2/+2 | |
remote server metze | |||||
2008-12-17 | s4:lib/socket: remove unused code | Stefan Metzmacher | 1 | -22/+0 | |
metze | |||||
2008-12-17 | s4: fix LIBEVENTS dependencies and use more forward declarations | Stefan Metzmacher | 1 | -2/+1 | |
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze | |||||
2008-11-02 | Use environment variable rather than loadparm parameter when testing | Jelmer Vernooij | 1 | -1/+1 | |
nonblocking sockets. | |||||
2008-11-02 | Fix the build. | Jelmer Vernooij | 1 | -3/+1 | |
2008-11-02 | Use a separate global for nonblocking socket testing rather than ↵ | Jelmer Vernooij | 2 | -1/+5 | |
global_loadparm. | |||||
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 3 | -3/+0 | |
2008-10-23 | Use common net utility code (address and sockaddr manipulation). | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-23 | Rename same_net to same_net_v4 for consistency with Samba 3. | Jelmer Vernooij | 1 | -3/+3 | |
2008-10-12 | Fix warning, prototype. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-11 | Fix include paths to new location of libutil. | Jelmer Vernooij | 1 | -1/+1 | |
2008-05-21 | lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS | Stefan Metzmacher | 1 | -11/+5 | |
metze (This used to be commit 76be51d3a08e2239a137b8abe3f2df722f69ddb2) | |||||
2008-05-18 | Fix a couple (well, little more than that..) of typos. | Jelmer Vernooij | 1 | -1/+1 | |
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24) | |||||
2008-05-18 | Create prototype headers from Makefile directory, without smb_build in the ↵ | Jelmer Vernooij | 1 | -1/+2 | |
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942) | |||||
2008-05-18 | Use variables for source directory in remaining subsystems. | Jelmer Vernooij | 1 | -4/+4 | |
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0) | |||||
2008-05-16 | lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and ↵ | Stefan Metzmacher | 1 | -25/+3 | |
HAVE_UNIXSOCKET and rely on libreplace metze (This used to be commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad) | |||||
2008-05-16 | lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL | Stefan Metzmacher | 1 | -10/+0 | |
metze (This used to be commit 1c7905cfb4c77edeb24ac612a544e777cf49e184) | |||||
2008-04-21 | Remove more event_context_init() uses from function calls within deep down ↵ | Simo Sorce | 1 | -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) | |||||
2008-04-14 | Use _OBJ_FILES variables in a couple more places. | Jelmer Vernooij | 1 | -12/+9 | |
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff) | |||||
2008-04-13 | Use torture_assert_mem_equal() in a couple more places. | Jelmer Vernooij | 1 | -3/+3 | |
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29) | |||||
2008-03-18 | lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL | Stefan Metzmacher | 2 | -47/+3 | |
The configure checks are also in libreplace now. metze (This used to be commit 07e931a77f21e025281b6285f4ce7aebf1106b86) | |||||
2008-02-20 | Make more module init functions public, since they are compiled with ↵ | Jelmer Vernooij | 2 | -3/+3 | |
-fvisibility=hidden. Not doing this causes failures on Mac OS X. (This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836) | |||||
2008-02-18 | Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ' | Jelmer Vernooij | 1 | -2/+2 | |
(This used to be commit 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac) | |||||
2007-12-21 | r26467: Use getifaddrs() for interface enumeration and provide replacements ↵ | Jelmer Vernooij | 2 | -437/+1 | |
for platforms that don't have it in lib/replace. (This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db) | |||||
2007-12-21 | r26409: Pass smb ports along. | Jelmer Vernooij | 1 | -0/+4 | |
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f) | |||||
2007-12-21 | r26406: Make a copy to prevent modification of the loadparm configuration. | Jelmer Vernooij | 2 | -3/+10 | |
(This used to be commit c0f2775fd8bd88aad3497d59a7857d7a8a0978c5) | |||||
2007-12-21 | r26405: Import support for getifaddrs from Samba3. | Jelmer Vernooij | 2 | -1/+107 | |
(This used to be commit 5827b7460a058e8565a406f1c3533e5f589674b5) | |||||
2007-12-21 | r26404: Disable socket wrapper for the interface detection code to work ↵ | Jelmer Vernooij | 1 | -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-12-21 | r26402: Require a talloc context in libnetif. | Jelmer Vernooij | 2 | -12/+13 | |
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50) | |||||
2007-12-21 | r26401: Don't cache interfaces context in libnetif. | Jelmer Vernooij | 3 | -54/+36 | |
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153) | |||||
2007-12-21 | r26397: Fix circular dependency in samba-socket. | Jelmer Vernooij | 3 | -5/+3 | |
(This used to be commit 801c8c766cb6a104751be8829593e0e123508134) | |||||
2007-12-21 | r26383: Make interfaces argument explicit. | Jelmer Vernooij | 1 | -15/+20 | |
(This used to be commit 89008ae18d37e8bc5bb7c70ac3e2128134264f9f) | |||||
2007-12-21 | r26376: Add context for libcli_resolve. | Jelmer Vernooij | 4 | -19/+19 | |
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc) | |||||
2007-12-21 | r26335: Specify name_resolve_order to socket code. | Jelmer Vernooij | 4 | -6/+21 | |
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d) | |||||
2007-12-21 | r26325: Remove use of global_loadparm in netif. | Jelmer Vernooij | 2 | -18/+19 | |
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6) |