Searched refs:xsetsockopt (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_helpers.h | 104 #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 D | sockmap_listen.c | 615 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in test_race_insert_listen()
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 1139 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()
|