Home
last modified time | relevance | path

Searched refs:SOL_CUSTOM (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dsockopt_inherit.c7 #define SOL_CUSTOM 0xdeadbeef macro
57 if (ctx->level != SOL_CUSTOM) in _getsockopt()
82 if (ctx->level != SOL_CUSTOM) in _setsockopt()
Dsockopt_sk.c16 #define SOL_CUSTOM 0xdeadbeef macro
105 if (ctx->level != SOL_CUSTOM) in _getsockopt()
198 if (ctx->level != SOL_CUSTOM) in _setsockopt()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsockopt_sk.c12 #define SOL_CUSTOM 0xdeadbeef macro
74 err = setsockopt(fd, SOL_CUSTOM, 0, &buf, 1); in getsetsockopt()
82 err = getsockopt(fd, SOL_CUSTOM, 0, &buf, &optlen); in getsetsockopt()
Dsockopt_inherit.c5 #define SOL_CUSTOM 0xdeadbeef macro
45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
118 err = setsockopt(fd, SOL_CUSTOM, i, &buf, 1); in start_server()
Dcgroup_getset_retval.c15 #define SOL_CUSTOM 0xdeadbeef macro
330 if (!ASSERT_ERR(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_get()
370 if (!ASSERT_ERR(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_override()
416 if (!ASSERT_OK(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_retval_sync()