/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A D | bind6_prog.c | 162 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
|
H A D | setget_sockopt.c | 42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
|
/linux/tools/testing/selftests/bpf/ |
H A 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()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 189 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 D | sock_create.c | 46 .optname = SO_PRIORITY, 67 .optname = SO_PRIORITY,
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | socket.h | 39 #define SO_PRIORITY 0x000c macro
|
/linux/tools/include/uapi/asm-generic/ |
H A D | socket.h | 24 #define SO_PRIORITY 12 macro
|
/linux/include/uapi/asm-generic/ |
H A D | socket.h | 24 #define SO_PRIORITY 12 macro
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | socket.h | 42 #define SO_PRIORITY 12 macro
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | socket.h | 34 #define SO_PRIORITY 0x400c macro
|
/linux/tools/testing/selftests/net/ |
H A D | so_rcv_listener.c | 50 opt.name = SO_PRIORITY; in parse_args()
|
H A D | cmsg_sender.c | 104 "\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 D | cpsw.rst | 89 | | 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 D | net_prio.rst | 10 SO_PRIORITY socket option. This however, is not always possible because:
|
/linux/net/mptcp/ |
H A D | sockopt.c | 91 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 D | sock.c | 1215 case SO_PRIORITY: in sk_setsockopt() 1805 case SO_PRIORITY: in sk_getsockopt() 3044 case SO_PRIORITY: in __sock_cmsg_send()
|
H A D | filter.c | 5279 case SO_PRIORITY: in sol_socket_sockopt()
|