Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dsockopt_inherit.c7 #define SOL_CUSTOM 0xdeadbeef macro
59 if (ctx->level != SOL_CUSTOM) in _getsockopt()
90 if (ctx->level != SOL_CUSTOM) in _setsockopt()
Dsockopt_sk.c16 #define SOL_CUSTOM 0xdeadbeef macro
110 if (ctx->level != SOL_CUSTOM) in _getsockopt()
215 if (ctx->level != SOL_CUSTOM) in _setsockopt()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsockopt_inherit.c7 #define SOL_CUSTOM 0xdeadbeef macro
47 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
120 err = setsockopt(fd, SOL_CUSTOM, i, &buf, 1); in start_server()
Dsockopt_sk.c13 #define SOL_CUSTOM 0xdeadbeef macro
75 err = setsockopt(fd, SOL_CUSTOM, 0, &buf, 1); in getsetsockopt()
83 err = getsockopt(fd, SOL_CUSTOM, 0, &buf, &optlen); in getsetsockopt()
Dcgroup_getset_retval.c15 #define SOL_CUSTOM 0xdeadbeef macro
346 if (!ASSERT_ERR(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_get()
388 if (!ASSERT_ERR(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_override()
436 if (!ASSERT_OK(getsockopt(sock_fd, SOL_CUSTOM, 0, in test_getsockopt_retval_sync()