Searched refs:socket_set_option (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/basic/ |
D | socket-util.h | 311 int socket_set_option(int fd, int af, int opt_ipv4, int opt_ipv6, int val); 313 return socket_set_option(fd, af, IP_RECVERR, IPV6_RECVERR, b); in socket_set_recverr() 316 return socket_set_option(fd, af, IP_RECVTTL, IPV6_RECVHOPLIMIT, b); in socket_set_recvttl() 319 return socket_set_option(fd, af, IP_TTL, IPV6_UNICAST_HOPS, ttl); in socket_set_ttl() 322 return socket_set_option(fd, af, IP_FREEBIND, IPV6_FREEBIND, b); in socket_set_freebind() 325 return socket_set_option(fd, af, IP_TRANSPARENT, IPV6_TRANSPARENT, b); in socket_set_transparent() 328 return socket_set_option(fd, af, IP_RECVFRAGSIZE, IPV6_RECVFRAGSIZE, b); in socket_set_recvfragsize()
|
D | socket-util.c | 1376 int socket_set_option(int fd, int af, int opt_ipv4, int opt_ipv6, int val) { in socket_set_option() function
|