Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H 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()
H A Dbind6_prog.c162 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
H A Dsetget_sockopt.c42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
/linux/tools/testing/selftests/bpf/
H 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/
H A Dlsm_cgroup.c189 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
225 ASSERT_GE(getsockopt(accepted_fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
280 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
H A Dsock_create.c46 .optname = SO_PRIORITY,
67 .optname = SO_PRIORITY,
/linux/arch/sparc/include/uapi/asm/
H A Dsocket.h39 #define SO_PRIORITY 0x000c macro
/linux/tools/include/uapi/asm-generic/
H A Dsocket.h24 #define SO_PRIORITY 12 macro
/linux/include/uapi/asm-generic/
H A Dsocket.h24 #define SO_PRIORITY 12 macro
/linux/arch/alpha/include/uapi/asm/
H A Dsocket.h42 #define SO_PRIORITY 12 macro
/linux/arch/parisc/include/uapi/asm/
H A Dsocket.h34 #define SO_PRIORITY 0x400c macro
/linux/tools/testing/selftests/net/
H A Dso_rcv_listener.c50 opt.name = SO_PRIORITY; in parse_args()
H A Dcmsg_sender.c104 "\t\t-P val Set SO_PRIORITY via setsockopt\n" in cs_usage()
105 "\t\t-Q val Set SO_PRIORITY via cmsg\n" in cs_usage()
269 SOL_SOCKET, SO_PRIORITY, &opt.priority); in cs_write_cmsg()
423 setsockopt(fd, SOL_SOCKET, SO_PRIORITY, in ca_set_sockopts()
425 error(ERN_SOCKOPT, errno, "setsockopt SO_PRIORITY"); in ca_set_sockopts()
/linux/Documentation/networking/device_drivers/ethernet/ti/
H 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/Documentation/admin-guide/cgroup-v1/
H A Dnet_prio.rst10 SO_PRIORITY socket option. This however, is not always possible because:
/linux/net/mptcp/
H 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/net/core/
H A Dsock.c1215 case SO_PRIORITY: in sk_setsockopt()
1805 case SO_PRIORITY: in sk_getsockopt()
3044 case SO_PRIORITY: in __sock_cmsg_send()
H A Dfilter.c5279 case SO_PRIORITY: in sol_socket_sockopt()