summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNCLennart Poettering2020-04-231-0/+21
* util-lib: move things that parse ifnames to shared/Zbigniew Jędrzejewski-Szmek2020-01-111-247/+0
* basic/socket-util: indent for clarityZbigniew Jędrzejewski-Szmek2020-01-111-5/+5
* util: introduce ifname_valid_full()Yu Watanabe2019-12-161-3/+9
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+2
* tree-wide: make use of errno_or_else() everywhereLennart Poettering2019-07-111-1/+1
* tree-wide: replace if_indextoname() with format_ifname()Yu Watanabe2019-05-291-2/+2
* basic/socket-util: put a limit on the loop to flush connectionsZbigniew Jędrzejewski-Szmek2019-04-231-1/+9
* basic/socket-util: fix typo and reword commentZbigniew Jędrzejewski-Szmek2019-04-231-7/+7
* socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPPLennart Poettering2019-04-181-2/+15
* tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() callLennart Poettering2019-04-101-6/+7
* socket-util: add wrappers for binding socket to ifindex/ifnameLennart Poettering2019-03-181-0/+36
* util: split out memcmp()/memset() related calls into memory-util.[ch]Lennart Poettering2019-03-131-1/+1
* socket-util: re-implement socket_address_parse_netlink() by using extract_fir...Yu Watanabe2019-02-211-6/+15
* socket-util: Let's trick out ubsan when it validate struct sockaddr_un.sun_pa...Lennart Poettering2018-12-041-4/+9
* socket-util: break lines in sockaddr_pretty() signatureLennart Poettering2018-12-041-1/+7
* socket-util: shorten code a bitLennart Poettering2018-12-041-8/+4
* basic/socket-util: use c-escaping to print unprintable socket pathsZbigniew Jędrzejewski-Szmek2018-11-301-27/+43
* shared/socket-util: do not print empty CIDZbigniew Jędrzejewski-Szmek2018-11-301-6/+6
* tree-wide: use setsockopt_int() moreYu Watanabe2018-10-191-8/+11
* socket-util: tighten socket_address_verify() checks a bitLennart Poettering2018-10-151-8/+17
* socket-util: tweak commenting in socket_address_get_path()Lennart Poettering2018-10-151-0/+4
* socket-util: add sockaddr_un_set_path() helperLennart Poettering2018-10-151-0/+44
* socket-address: document socket address parsing size restrictions in a commentLennart Poettering2018-10-151-2/+8
* socket-util: use structured initializationLennart Poettering2018-10-151-2/+3
* socket-util: add new sockaddr_un_unlink() helperLennart Poettering2018-10-151-15/+24