Searched refs:SO_PRIORITY (Results 1 – 8 of 8) sorted by relevance
/tools/testing/selftests/bpf/ |
D | bpf_sockopt_helpers.h | 15 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in get_set_sk_priority() 17 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in get_set_sk_priority()
|
/tools/testing/selftests/bpf/progs/ |
D | lsm_cgroup.c | 66 if (bpf_setsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create() 71 if (bpf_getsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create() 175 if (bpf_setsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG() 180 if (bpf_getsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
|
D | bpf_tracing_net.h | 13 #define SO_PRIORITY 12 macro
|
D | bind4_prog.c | 146 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v4_prog()
|
D | bind6_prog.c | 160 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
|
D | setget_sockopt.c | 45 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
|
/tools/testing/selftests/bpf/prog_tests/ |
D | lsm_cgroup.c | 193 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional() 229 ASSERT_GE(getsockopt(accepted_fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional() 284 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
|
/tools/include/uapi/asm-generic/ |
D | socket.h | 24 #define SO_PRIORITY 12 macro
|