summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.c
Commit message (Expand)AuthorAgeFilesLines
* socket-util: introduce CMSG_FIND_AND_COPY_DATA()Yu Watanabe2023-04-161-0/+18
* tree-wide: port more code over to CMSG_TYPED_DATA()Lennart Poettering2023-04-131-1/+1
* socket-util: fix socket_get_family()Lennart Poettering2023-03-101-17/+13
* socket-util: make connect_unix_path() work with a NULL pathLennart Poettering2023-02-171-28/+36
* src/shared/: split AF_UNIX/AF_VSOCK address parsing into src/basic/Luca Boccassi2023-01-051-0/+68
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-2/+2
* tree-wide: add global ascii_isdigit() + ascii_isalpha()Lennart Poettering2022-07-051-1/+1
* Merge pull request #23616 from keszybz/in-addr-to-string-formattingYu Watanabe2022-06-091-3/+1
|\
| * tree-wide: convert inet_ntop() calls to anonymous-buffer macrosZbigniew Jędrzejewski-Szmek2022-06-061-3/+1
* | basic/socket-util: align tablesZbigniew Jędrzejewski-Szmek2022-06-071-20/+20
|/
* socket-util: add new connect_unix_path() helperLennart Poettering2022-05-141-0/+48
* socket-util: change sockaddr_un_set_path() to return recognizable error on 10...Lennart Poettering2022-05-131-1/+4
* socket-util: add helper for generically initializing sockaddr_union from in_a...Lennart Poettering2021-11-221-0/+35
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-18/+5
* util: define initializer for 'struct ucred' that properly invalidates all fieldsLennart Poettering2021-10-111-1/+1
* tree-wide: make format_ifname() or friends return negative errno on failureYu Watanabe2021-09-291-10/+11
* socket-util: const-ify iov parameter in send_one_fd_iov_saLuca Boccassi2021-09-201-2/+2
* sysctl-util: make sysctl_write_ip_property() a wrapper around sysctl_write()Lennart Poettering2021-09-151-1/+1
* socket-util: split out checking valid character for ifname into ifname_valid_...Yu Watanabe2021-06-231-10/+17
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-2/+2
* socket-util: refuse ifnames with embedded '%' as invalidLennart Poettering2021-03-101-1/+4
* socket-util: initialize variable with cleanup attributeYu Watanabe2021-03-071-1/+1
* Merge pull request #18896 from poettering/no-localhost-ipv6Yu Watanabe2021-03-061-2/+41
|\
| * socket-util: add helper for checking if IPv6 is enabledLennart Poettering2021-03-051-0/+26
| * socket-util: cache result of socket_ipv6_is_supported()Lennart Poettering2021-03-051-3/+16
* | socket-util: refuse "all" and "default" as valid ifnamesLennart Poettering2021-03-061-0/+5
|/
* socket-util: tighten parsing of ifnamesLennart Poettering2021-02-151-8/+8
* socket-util: add common API for querying socket MTULennart Poettering2020-12-071-0/+32
* socket-util: make several socket_set_xxx() functions inlineYu Watanabe2020-12-041-94/+3
* socket-util: add sockaddr_in_addr() helperLennart Poettering2020-12-021-1/+20
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* socket-util: make socket_set_recvpktinfo control PACKET_AUXDATA sockopt on AF...Lennart Poettering2020-10-271-0/+3
* socket-util: reset length argument for second getsockopt call in fd_[gs]et_rc...Christian Göttsche2020-09-151-0/+2
* tree-wide: add helper for IPv4/IPv6 sockoptsLennart Poettering2020-09-111-1/+156
* Minor simplification in sockaddr_un_set_path()Zbigniew Jędrzejewski-Szmek2020-09-101-3/+1
* shared: don't unconditionally set SOCK_STREAM as type in socket_address_parse()Zbigniew Jędrzejewski-Szmek2020-09-101-5/+5
* basic: show interface scope in sockaddr_pretty()Zbigniew Jędrzejewski-Szmek2020-09-101-4/+8
* basic: convert ifname_valid_full() to take flags and allow numeric interfacesZbigniew Jędrzejewski-Szmek2020-09-101-10/+17
* util: introduce fd_set_{snd,rcv}buf()Yu Watanabe2020-09-091-6/+6
* util: try to set with SO_{RCV,SND}BUFFORCE when requested size is larger than...Yu Watanabe2020-09-091-12/+28
* util: refuse to set too large value for socket buffer sizeYu Watanabe2020-09-091-0/+6
* all: fix minor typosYuri Chornoivan2020-07-071-1/+1
* util: use setsockopt_int() at one more placeYu Watanabe2020-07-021-4/+4
* tree-wide: port to fd_wait_for_event()Lennart Poettering2020-06-101-10/+4
* tree-wide: check POLLNVAL everywhereLennart Poettering2020-06-101-0/+3
* socket-util: add generic socket_pass_pktinfo() helperLennart Poettering2020-05-271-0/+22
* tree-wide: make sure our control buffers are properly alignedLennart Poettering2020-05-071-8/+2
* tree-wide: remove redundant assignmentsLennart Poettering2020-05-071-2/+0
* tree-wide: use cmsg_find() helper at various places where appropriateLennart Poettering2020-04-231-11/+2
* tree-wide: use recvmsg_safe() at various placesLennart Poettering2020-04-231-6/+7