Searched refs:SOL_CUSTOM (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | sockopt_inherit.c | 7 #define SOL_CUSTOM 0xdeadbeef macro 59 if (ctx->level != SOL_CUSTOM) in _getsockopt() 90 if (ctx->level != SOL_CUSTOM) in _setsockopt()
|
H A D | sockopt_sk.c | 16 #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 D | sockopt_inherit.c | 8 #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 D | sockopt_sk.c | 13 #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 D | cgroup_getset_retval.c | 15 #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()
|