Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tsocket: Added the warning again to tsocket_address_bsd_sockaddr. | Andreas Schneider | 2010-05-05 | 1 | -0/+3 |
| | |||||
* | tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr. | Andreas Schneider | 2010-05-03 | 1 | -6/+13 |
| | |||||
* | lib/tsocket: add tsocket_address_is_unix() function | Stefan Metzmacher | 2010-04-27 | 2 | -0/+29 |
| | | | | metze | ||||
* | lib/tsocket: add tsocket_address_is_inet() function | Stefan Metzmacher | 2010-04-27 | 2 | -0/+54 |
| | | | | metze | ||||
* | Revert "tsocket: not all systems have IPV6_V6ONLY" | Stefan Metzmacher | 2010-04-24 | 1 | -2/+2 |
| | | | | | | | | | This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7. We now don't support IPv6 when IPV6_V6ONLY isn't available, as we rely on the behavior. metze | ||||
* | s4-waf: inline LIBREPLACE_NETWORK into 'replace' | Stefan Metzmacher | 2010-04-12 | 1 | -1/+0 |
| | | | | metze | ||||
* | tsocket_bsd: Always use a real length for the sa_socklen, and keep it around | Andrew Bartlett | 2010-04-08 | 1 | -68/+16 |
| | | | | | | | | The previous code assumed the OS would happily accept sizeof(struct sockaddr_storage). It seems some versions of Solaris do not like this. Andrew Bartlett | ||||
* | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 2010-04-06 | 1 | -3/+0 |
| | | | | we won't be using the mk -> wscript generator again | ||||
* | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2010-04-06 | 1 | -0/+2 |
| | | | | them | ||||
* | build: commit all the waf build files in the tree | Andrew Tridgell | 2010-04-06 | 1 | -0/+11 |
| | |||||
* | tsocket: not all systems have IPV6_V6ONLY | Andrew Tridgell | 2010-03-26 | 1 | -2/+2 |
| | |||||
* | tsocket: Improve the tsocket_address_bsd_sockaddr documentation. | Andreas Schneider | 2010-02-26 | 1 | -1/+3 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | Spelling fixes for tsocket API documentation. | Brad Hards | 2010-02-22 | 1 | -14/+14 |
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | ||||
* | tsocket/bsd: fix comment in tdgram_bsd_recvfrom_handler() | Stefan Metzmacher | 2010-02-18 | 1 | -2/+4 |
| | | | | metze | ||||
* | Fix commit d07cd37b993d3c9beded20323174633b806196b5 | Jeremy Allison | 2010-02-17 | 1 | -1/+4 |
| | | | | | | | | | | | | | Which was: tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD Metze, this has to have been wrong - you are throwing away the talloc_realloc pointer returned. Also no error checking. Please review. Thank goodness for gcc warnings :-). Jeremy. | ||||
* | tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD | Stefan Metzmacher | 2010-02-17 | 1 | -4/+6 |
| | | | | metze | ||||
* | tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets | Stefan Metzmacher | 2010-02-17 | 1 | -0/+36 |
| | | | | | | | | Some system already have this as default. It's easier to behave the same way on all systems and handle ipv6 and ipv4 sockets separate. metze | ||||
* | tsocket/bsd: fix bug #7140 autodetect ipv4 and ipv6 based on the remote ↵ | Stefan Metzmacher | 2010-02-17 | 1 | -2/+53 |
| | | | | | | address if the local address is any metze | ||||
* | tsocket/bsd: fix bug #7140 use calculated sa_socklen for bind() in ↵ | Stefan Metzmacher | 2010-02-17 | 1 | -1/+1 |
| | | | | | | | | | tstream_bsd_connect_send() This is needed because, we can't use sizeof(sockaddr_storage) for AF_UNIX sockets. Also some platforms require exact values for AF_INET and AF_INET6. metze | ||||
* | tsocket/bsd: fix do_bind logic for AF_INET | Stefan Metzmacher | 2010-02-17 | 1 | -2/+2 |
| | | | | | | We want the explicit bind() when we don't use the any address. metze | ||||
* | tsocket: Fix the description of tstream_writev_queue_send/recv | Kai Blin | 2010-01-28 | 1 | -6/+6 |
| | |||||
* | tsocket: Fix description for tstream_readv_pdu_queue_send/recv | Kai Blin | 2010-01-28 | 1 | -7/+6 |
| | |||||
* | tsocket: Added doxygen config file. | Andreas Schneider | 2010-01-11 | 1 | -0/+1538 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | tsocket: Added complete doxygen documentation. | Andreas Schneider | 2010-01-11 | 2 | -63/+834 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | tsocket: only copy the specific part of sockaddr* | Stefan Metzmacher | 2009-12-24 | 1 | -0/+5 |
| | | | | | | | This makes sure we fill the unspefic bytes with 0 and have zero termination for sockaddr_un. metze | ||||
* | tsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un) | Stefan Metzmacher | 2009-12-24 | 1 | -4/+5 |
| | | | | | | | This is needed as getpeername() truncates the length to 2 if the peer socket has no name. metze | ||||
* | tsocket: Fixed tsocket_guide.txt asciidoc syntax. | Andreas Schneider | 2009-12-15 | 1 | -148/+161 |
| | |||||
* | tsocket: Fixed documentation for tsocket_address_bsd_sockaddr(). | Andreas Schneider | 2009-12-15 | 1 | -6/+5 |
| | |||||
* | tsocket: Fixed typo in LGPL header. | Andreas Schneider | 2009-12-15 | 5 | -5/+5 |
| | |||||
* | tsocket: add tsocket_address_bsd_sockaddr() and ↵ | Stefan Metzmacher | 2009-12-15 | 3 | -5/+87 |
| | | | | | | tsocket_address_bsd_from_sockaddr() metze | ||||
* | tsocket: rewrite tsocket_guide.txt to reflect the current APIs | Stefan Metzmacher | 2009-11-03 | 1 | -467/+413 |
| | | | | metze | ||||
* | tsocket_bsd: return -1 and set errno to ENAMETOOLONG if the unix path is too ↵ | Stefan Metzmacher | 2009-11-03 | 1 | -1/+6 |
| | | | | | | long metze | ||||
* | tsocket: remove prototype of non-existing tsocket_address_inet_set_broadcast() | Stefan Metzmacher | 2009-11-03 | 1 | -2/+0 |
| | | | | metze | ||||
* | tsocket: rename sa_len => sa_socklen, because sa_len is a macro on some ↵ | Stefan Metzmacher | 2009-07-16 | 1 | -21/+21 |
| | | | | | | platforms metze | ||||
* | tsocket/bsd: also ask for TEVENT_FD_READ when we want to write into a stream ↵ | Stefan Metzmacher | 2009-06-29 | 1 | -2/+9 |
| | | | | | | | | socket Otherwise we would not notice a broken connection. metze | ||||
* | tsocket/bsd: more correctly check if the cached tevent_fd is still valid | Stefan Metzmacher | 2009-06-29 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | I some cases the pointer value of tevent_context is the same again, if we do something like: ev1 = tevent_context_init(); ... fde = tevent_add_fd(ev1, fd, TEVENT_FD_READ...); ... talloc_free(ev1); ... ev2 = tevent_context_init(); if (ev1 == ev2) { /* this can happen! */ } if (tevent_fd_get_flags(fde) == 0) { /* this is always true */ } But the "talloc_free(ev1)" will set fde->event_ctx to NULL and tevent_fd_get_flags() will always return 0. metze | ||||
* | Properly free a downlevel readv request. Metze, please check | Volker Lendecke | 2009-06-27 | 1 | -0/+1 |
| | |||||
* | It seems that IRIX doesn't have IOV_MAX | Andrew Tridgell | 2009-06-09 | 1 | -0/+4 |
| | |||||
* | tsocket: allow empty vectors at the end for tstream_writev()/readv() | Stefan Metzmacher | 2009-05-22 | 1 | -0/+26 |
| | | | | metze | ||||
* | Set errno=ENOMEM if tevent_add_fd fails | Volker Lendecke | 2009-05-19 | 1 | -0/+4 |
| | | | | | | | tevent_add_fd does not properly set that. At least in epoll and select this is the only error condition. Metze, please check! | ||||
* | Simplify the logic of tsocket_bsd_pending | Volker Lendecke | 2009-05-19 | 1 | -24/+26 |
| | | | | | | Remove two indentation levels by returning early on error. Metze, please check! | ||||
* | Attempt to the build on NetBSD5 and a few others | Volker Lendecke | 2009-05-01 | 1 | -0/+3 |
| | |||||
* | tsocket: add tstream_readv_pdu_queue_send/recv() | Stefan Metzmacher | 2009-05-01 | 2 | -0/+132 |
| | | | | metze | ||||
* | tsocket: add tstream_writev_queue_send/recv() | Stefan Metzmacher | 2009-05-01 | 2 | -0/+132 |
| | | | | metze | ||||
* | tsocket: add tstream_readv_pdu_send/recv() | Stefan Metzmacher | 2009-05-01 | 2 | -1/+178 |
| | | | | metze | ||||
* | tsocket: add tstream implementation for bsd sockets (inet and unix) | Stefan Metzmacher | 2009-05-01 | 2 | -0/+943 |
| | | | | metze | ||||
* | tsocket: add tstream_context infrastructure similar to tdgram_context | Stefan Metzmacher | 2009-05-01 | 3 | -0/+445 |
| | | | | metze | ||||
* | tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket() | Stefan Metzmacher | 2009-05-01 | 2 | -12/+12 |
| | | | | metze | ||||
* | tsocket: move tsocket_simple_int_recv() to tsocket.c | Stefan Metzmacher | 2009-05-01 | 2 | -31/+28 |
| | | | | metze | ||||
* | tsocket: move tsocket_sendto_queue_send/recv() to tsocket_helpers.c | Stefan Metzmacher | 2009-05-01 | 2 | -130/+131 |
| | | | | metze |