summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket_bsd.c
AgeCommit message (Expand)AuthorFilesLines
2026-02-15lib: Remove very little used wrapper conv_str_u64()Volker Lendecke1-5/+8
2025-06-18async_sock: move samba_socket_{poll,sock,poll_or_sock}_error() from util_net....Stefan Metzmacher1-0/+1
2025-06-18lib/tsocket: implement tstream_bsd_monitor_send/recvStefan Metzmacher1-4/+177
2025-06-18lib/tsocket: make use of tevent_req_set_cleanup_fn() instead of talloc_set_de...Stefan Metzmacher1-29/+63
2023-10-24lib/tsocket: add tstream_bsd_fail_readv_first_error()Stefan Metzmacher1-2/+23
2023-10-24lib/tsocket: make use of TEVENT_FD_ERROR in tstream_bsd_fde_handler()Stefan Metzmacher1-111/+116
2023-10-24lib/tsocket: let tstream_bsd_connect_send() use TEVENT_FD_ERROR instead of TE...Stefan Metzmacher1-1/+1
2023-10-24lib/tsocket: make use of samba_socket_sock_error()Stefan Metzmacher1-9/+1
2023-10-24lib/tsocket: make use of samba_socket_poll_or_sock_error()Stefan Metzmacher1-101/+2
2022-10-19lib/tsocket: avoid endless cpu-spinning in tstream_bsd_fde_handler()Stefan Metzmacher1-5/+116
2022-10-19lib/tsocket: remember the first error as tstream_bsd->errorStefan Metzmacher1-0/+39
2022-10-19lib/tsocket: check for errors indicated by poll() before getsockopt(fd, SOL_S...Stefan Metzmacher1-1/+79
2022-10-19lib/tsocket: split out tsocket_bsd_error() from tsocket_bsd_pending()Stefan Metzmacher1-19/+23
2021-09-28lib/tsocket: new function to parse host port strs.Matthew Grant1-0/+100
2021-09-16lib/tsocket: Fix build on FreebsdAmitay Isaacs1-0/+2
2021-09-13tsocket: set errno on some failures of tsocket_address_inet_from_stringsUri Simchoni1-0/+2
2020-02-28Rename macro argument s_addr due to it already being definedPeter Eriksson1-3/+3
2020-02-26lib/tsocket: add a comment regarding TEVENT_FD_READ in tstream_bsd_connect_se...Stefan Metzmacher1-0/+8
2019-07-22lib:tsocket: New function to build a tsocket_context from samba_addressSamuel Cabrero1-0/+12
2019-07-22s3:utils: New struct to fix strict aliasing issues with sockets APISamuel Cabrero1-59/+47
2016-06-30tsocket: Do not dereference a NULL pointerAndreas Schneider1-4/+8
2016-02-10lib/tsocket: workaround sockets not supporting FIONREADRalph Boehme1-1/+61
2015-10-21lib/tsocket: fix non-blockging connect() error handlingRalph Boehme1-8/+5
2015-06-19Fix a typoVolker Lendecke1-2/+2
2015-06-12lib/tsocket: add tdgram_inet_udp_broadcast_socket()Stefan Metzmacher1-0/+30
2015-06-12lib/tsocket: add tdgram_bsd_existing_socket() helper functionStefan Metzmacher1-0/+24
2015-06-05tsocket: Use common code in tsocket_bsd_common_prepare_fdVolker Lendecke1-29/+7
2015-02-24tsocket: Use iov_advanceVolker Lendecke1-50/+17
2015-02-24tsocket: Fix a typoVolker Lendecke1-1/+1
2013-07-01tsocket: Pass the full port number to getaddrinfo().Andreas Schneider1-1/+1
2013-06-14tsocket: Add some constVolker Lendecke1-1/+1
2013-03-13tsocket: ENOMEM can be retried on illumos/Solaris.Ira Cooper1-0/+6
2013-03-04tsocket_bsd: Attempt to increase the SO_SNDBUF if we get EMSGSIZE in sendto()Andrew Bartlett1-0/+26
2012-11-05lib/tsocket: disable the syscall optimization for recvfrom/readv by defaultStefan Metzmacher1-6/+67
2012-10-23lib/tsocket: fix loop in tdgram_bsd_recvfrom() (bug #9184)Stefan Metzmacher1-1/+9
2012-09-22lib/tsocket: fix receiving of udp packets from 0 bytes (bug #9184)Stefan Metzmacher1-4/+1
2010-11-05tsocket: fill in sa.sa_len if the system supports itStefan Metzmacher1-0/+12
2010-10-23tsocket: let tstream_inet_tcp_connect_recv() optionally return the used local...Stefan Metzmacher1-1/+2
2010-10-23tsocket: ask the kernel for the specific local address after a tcp connectStefan Metzmacher1-3/+54
2010-10-04tsocket: make sure we delete the fd event before calling close()Stefan Metzmacher1-0/+1
2010-09-28tsocket: make sure we delete the fd event before calling close()Stefan Metzmacher1-0/+1
2010-09-15tsocket: we return -1 on error, not fdAndrew Tridgell1-7/+7
2010-08-28Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"Stefan Metzmacher1-29/+29
2010-08-27lib/tsocket: sa_socklen is a macro on irix, so better use sasocklenStefan Metzmacher1-29/+29
2010-06-21tsocket: Fix some type-punned warningsVolker Lendecke1-2/+2
2010-04-27lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher1-0/+17
2010-04-27lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher1-0/+37
2010-04-24Revert "tsocket: not all systems have IPV6_V6ONLY"Stefan Metzmacher1-2/+2
2010-04-08tsocket_bsd: Always use a real length for the sa_socklen, and keep it aroundAndrew Bartlett1-68/+16
2010-03-26tsocket: not all systems have IPV6_V6ONLYAndrew Tridgell1-2/+2