Home
last modified time | relevance | path

Searched refs:xsetsockopt (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h104 #define xsetsockopt(fd, level, name, val, len) \ macro
341 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in enable_reuseport()
344 err = xsetsockopt(s, SOL_SOCKET, SO_ATTACH_REUSEPORT_EBPF, &progfd, in enable_reuseport()
H A Dsockmap_listen.c615 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in test_race_insert_listen()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c1139 static void xsetsockopt(int fd, int level, int optname, const void *optval, socklen_t optlen) in xsetsockopt() function
1155 xsetsockopt(fd, SOL_SOCKET, SO_TIMESTAMPNS_NEW, &on, sizeof(on)); in apply_cmsg_types()
1157 xsetsockopt(fd, IPPROTO_TCP, TCP_INQ, &on, sizeof(on)); in apply_cmsg_types()