Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A 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()
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()
A Dbind4_prog.c148 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v4_prog()
A Dbpf_tracing_net.h16 #define SO_PRIORITY 12 macro
A Dbind6_prog.c162 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
A Dsetget_sockopt.c42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
/linux/tools/testing/selftests/bpf/
A 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/tools/testing/selftests/bpf/prog_tests/
A 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/tools/include/uapi/asm-generic/
A Dsocket.h24 #define SO_PRIORITY 12 macro
/linux/arch/sparc/include/uapi/asm/
A Dsocket.h39 #define SO_PRIORITY 0x000c macro
/linux/include/uapi/asm-generic/
A Dsocket.h24 #define SO_PRIORITY 12 macro
/linux/arch/alpha/include/uapi/asm/
A Dsocket.h42 #define SO_PRIORITY 12 macro
/linux/arch/parisc/include/uapi/asm/
A Dsocket.h34 #define SO_PRIORITY 0x400c macro
/linux/arch/mips/include/uapi/asm/
A Dsocket.h50 #define SO_PRIORITY 12 macro
/linux/Documentation/networking/device_drivers/ethernet/ti/
A 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/samples/bpf/
A Dtest_cgrp2_sock.c162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
/linux/Documentation/admin-guide/cgroup-v1/
A Dnet_prio.rst10 SO_PRIORITY socket option. This however, is not always possible because:
/linux/net/mptcp/
A Dsockopt.c91 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/tools/testing/selftests/net/
A Dcmsg_sender.c412 setsockopt(fd, SOL_SOCKET, SO_PRIORITY, in ca_set_sockopts()
/linux/Documentation/networking/
A Ddccp.rst59 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to
/linux/net/core/
A Dsock.c1200 case SO_PRIORITY: in sk_setsockopt()
1769 case SO_PRIORITY: in sk_getsockopt()
A Dfilter.c5218 case SO_PRIORITY: in sol_socket_sockopt()

Completed in 61 milliseconds