Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c62 if (bpf_setsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create()
67 if (bpf_getsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create()
163 if (bpf_setsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
168 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.c44 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
/Linux-v6.1/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.1/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c190 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
226 ASSERT_GE(getsockopt(accepted_fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
274 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
/Linux-v6.1/tools/include/uapi/asm-generic/
Dsocket.h24 #define SO_PRIORITY 12 macro
/Linux-v6.1/include/uapi/asm-generic/
Dsocket.h24 #define SO_PRIORITY 12 macro
/Linux-v6.1/arch/sparc/include/uapi/asm/
Dsocket.h39 #define SO_PRIORITY 0x000c macro
/Linux-v6.1/arch/parisc/include/uapi/asm/
Dsocket.h34 #define SO_PRIORITY 0x400c macro
/Linux-v6.1/arch/alpha/include/uapi/asm/
Dsocket.h42 #define SO_PRIORITY 12 macro
/Linux-v6.1/arch/mips/include/uapi/asm/
Dsocket.h50 #define SO_PRIORITY 12 macro
/Linux-v6.1/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.1/samples/bpf/
Dtest_cgrp2_sock.c162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
/Linux-v6.1/Documentation/admin-guide/cgroup-v1/
Dnet_prio.rst10 SO_PRIORITY socket option. This however, is not always possible because:
/Linux-v6.1/net/mptcp/
Dsockopt.c90 case SO_PRIORITY: in mptcp_sol_socket_sync_intval()
186 case SO_PRIORITY: in mptcp_setsockopt_sol_socket_int()
323 case SO_PRIORITY: in mptcp_setsockopt_sol_socket()
/Linux-v6.1/Documentation/networking/
Ddccp.rst59 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to
/Linux-v6.1/net/core/
Dsock.c1201 case SO_PRIORITY: in sk_setsockopt()
1672 case SO_PRIORITY: in sk_getsockopt()
Dfilter.c5031 case SO_PRIORITY: in sol_socket_sockopt()