summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.h
Commit message (Expand)AuthorAgeFilesLines
* socket-util: introduce CMSG_FIND_AND_COPY_DATA()Yu Watanabe2023-04-161-0/+5
* tree-wide: replace __alignof__() with alignof()Yu Watanabe2023-04-141-1/+1
* socket-util: add one missing parenYu Watanabe2023-04-141-1/+1
* socket-util: tighten aignment check for CMSG_TYPED_DATA()Lennart Poettering2023-04-131-0/+7
* socket-util: fix socket_get_family()Lennart Poettering2023-03-101-1/+1
* src/shared/: split AF_UNIX/AF_VSOCK address parsing into src/basic/Luca Boccassi2023-01-051-0/+6
* socket-util: add CMSG_TYPED_DATA() as type-safe wrapper around CMSG_DATA()Lennart Poettering2022-12-081-6/+8
* basic/socket-util: rename fd_inc_rcvbuf → fd_increase_rxbufZbigniew Jędrzejewski-Szmek2022-06-301-1/+1
* socket-util: add new connect_unix_path() helperLennart Poettering2022-05-141-0/+2
* socket-util: don't reference field by macro parameter nameLennart Poettering2022-05-091-2/+2
* tree-wide: add a space after if, switch, for, and whileYu Watanabe2022-04-011-1/+1
* socket-util: add helper for generically initializing sockaddr_union from in_a...Lennart Poettering2021-11-221-0/+2
* util: define initializer for 'struct ucred' that properly invalidates all fieldsLennart Poettering2021-10-111-0/+3
* socket-util: const-ify iov parameter in send_one_fd_iov_saLuca Boccassi2021-09-201-1/+1
* sysctl-util: make sysctl_write_ip_property() a wrapper around sysctl_write()Lennart Poettering2021-09-151-3/+4
* tree-wide: fix typoYu Watanabe2021-09-051-1/+1
* socket-util: introduce CMSG_SPACE_TIMEVAL/TIMESPEC macro to support additiona...Yu Watanabe2021-08-301-0/+22
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-1/+1
* socket-util: split out checking valid character for ifname into ifname_valid_...Yu Watanabe2021-06-231-0/+1
* basic/socket-util: add hint to silence gcc's maybe-unitialized warningZbigniew Jędrzejewski-Szmek2021-03-311-1/+2
* socket-util: add helper for checking if IPv6 is enabledLennart Poettering2021-03-051-0/+1
* socket-util: fix indentationLennart Poettering2021-02-151-3/+3
* tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-1/+1
* socket-util: add common API for querying socket MTULennart Poettering2020-12-071-0/+2
* socket-util: add getsockopt_int() helperLennart Poettering2020-12-071-0/+13
* socket-util: add sockopt helper for controlling IP_RECVFRAGSIZELennart Poettering2020-12-071-0/+4
* socket-util: make several socket_set_xxx() functions inlineYu Watanabe2020-12-041-5/+17
* socket-util: add sockaddr_in_addr() helperLennart Poettering2020-12-021-0/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* tree-wide: add helper for IPv4/IPv6 sockoptsLennart Poettering2020-09-111-1/+8
* basic: convert ifname_valid_full() to take flags and allow numeric interfacesZbigniew Jędrzejewski-Szmek2020-09-101-2/+7
* util: introduce fd_set_{snd,rcv}buf()Yu Watanabe2020-09-091-2/+8
* util: introduce SOCKADDR_LEN() macroYu Watanabe2020-09-041-0/+29
* socket-util: add generic socket_pass_pktinfo() helperLennart Poettering2020-05-271-0/+2
* tree-wide: make sure our control buffers are properly alignedLennart Poettering2020-05-071-0/+11
* socket-util: introduce type-safe, dereferencing wrapper CMSG_FIND_DATA around...Lennart Poettering2020-04-231-0/+8
* socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNCLennart Poettering2020-04-231-0/+2
* util-lib: move things that parse ifnames to shared/Zbigniew Jędrzejewski-Szmek2020-01-111-10/+4
* util: introduce ifname_valid_full()Yu Watanabe2019-12-161-1/+4
* tree-wide: drop netinet/ether.h from socket-util.h and sd-netlink.hYu Watanabe2019-07-241-1/+1
* socket-util.h: include string.hChen Qi2019-05-171-0/+1
* socket-util: add wrappers for binding socket to ifindex/ifnameLennart Poettering2019-03-181-0/+3
* util: drop missing.h from socket-util.hYu Watanabe2018-12-061-5/+6
* basic/socket-util: use c-escaping to print unprintable socket pathsZbigniew Jędrzejewski-Szmek2018-11-301-1/+1
* tree-wide: introduce setsockopt_int() helper and make use of it everywhereLennart Poettering2018-10-181-0/+7
* socket-util: include trailing NUL byte in SOCKADDR_UN_LEN() count for fs socketsLennart Poettering2018-10-151-1/+1
* socket-util: add sockaddr_un_set_path() helperLennart Poettering2018-10-151-0/+2
* socket-util: add new sockaddr_un_unlink() helperLennart Poettering2018-10-151-1/+6
* socket-util: Introduce send_one_fd_iov() and receive_one_fd_iov()Filipe Brandenburger2018-08-021-1/+9
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-4/+0