Home
last modified time | relevance | path

Searched refs:SO_PRIORITY (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c66 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()
171 if (bpf_setsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
176 if (bpf_getsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
Dbpf_tracing_net.h13 #define SO_PRIORITY 12 macro
Dbind4_prog.c146 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v4_prog()
Dbind6_prog.c160 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
Dsetget_sockopt.c45 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
/Linux-v6.6/tools/testing/selftests/bpf/
Dbpf_sockopt_helpers.h15 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()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c193 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()
/Linux-v6.6/arch/mips/include/uapi/asm/
Dsocket.h50 #define SO_PRIORITY 12 macro
/Linux-v6.6/arch/sparc/include/uapi/asm/
Dsocket.h39 #define SO_PRIORITY 0x000c macro
/Linux-v6.6/arch/parisc/include/uapi/asm/
Dsocket.h34 #define SO_PRIORITY 0x400c macro
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dsocket.h42 #define SO_PRIORITY 12 macro
/Linux-v6.6/tools/include/uapi/asm-generic/
Dsocket.h24 #define SO_PRIORITY 12 macro
/Linux-v6.6/include/uapi/asm-generic/
Dsocket.h24 #define SO_PRIORITY 12 macro
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst89 | | SO_PRIORITY=3 | | SO_PRIORITY=2 | | | | | | | | c
269 // Run your appropriate tools with socket option "SO_PRIORITY"
548 // Run appropriate tools with socket option "SO_PRIORITY" to 3
/Linux-v6.6/samples/bpf/
Dtest_cgrp2_sock.c162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
/Linux-v6.6/Documentation/admin-guide/cgroup-v1/
Dnet_prio.rst10 SO_PRIORITY socket option. This however, is not always possible because:
/Linux-v6.6/net/mptcp/
Dsockopt.c91 case SO_PRIORITY: in mptcp_sol_socket_sync_intval()
187 case SO_PRIORITY: in mptcp_setsockopt_sol_socket_int()
324 case SO_PRIORITY: in mptcp_setsockopt_sol_socket()
/Linux-v6.6/Documentation/networking/
Ddccp.rst59 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to
/Linux-v6.6/net/core/
Dsock.c1216 case SO_PRIORITY: in sk_setsockopt()
1689 case SO_PRIORITY: in sk_getsockopt()
Dfilter.c5093 case SO_PRIORITY: in sol_socket_sockopt()