Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dsockopt_inherit.c7 #define SOL_CUSTOM 0xdeadbeef macro
59 if (ctx->level != SOL_CUSTOM) in _getsockopt()
90 if (ctx->level != SOL_CUSTOM) in _setsockopt()
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_inherit.c8 #define SOL_CUSTOM 0xdeadbeef macro
19 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt()
81 err = setsockopt(fd, SOL_CUSTOM, i, &buf, 1); in custom_cb()
H A 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()
H A 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()