| /linux-6.15/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 | bind4_prog.c | 148 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v4_prog()
|
| H A D | bpf_tracing_net.h | 16 #define SO_PRIORITY 12 macro
|
| 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-6.15/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-6.15/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,
|
| H A D | tc_netkit.c | 156 ret = setsockopt(sock, SOL_SOCKET, SO_PRIORITY, in __send_icmp()
|
| /linux-6.15/arch/parisc/include/uapi/asm/ |
| H A D | socket.h | 34 #define SO_PRIORITY 0x400c macro
|
| /linux-6.15/arch/sparc/include/uapi/asm/ |
| H A D | socket.h | 39 #define SO_PRIORITY 0x000c macro
|
| /linux-6.15/arch/mips/include/uapi/asm/ |
| H A D | socket.h | 50 #define SO_PRIORITY 12 macro
|
| /linux-6.15/include/uapi/asm-generic/ |
| H A D | socket.h | 24 #define SO_PRIORITY 12 macro
|
| /linux-6.15/arch/alpha/include/uapi/asm/ |
| H A D | socket.h | 42 #define SO_PRIORITY 12 macro
|
| /linux-6.15/tools/include/uapi/asm-generic/ |
| H A D | socket.h | 24 #define SO_PRIORITY 12 macro
|
| /linux-6.15/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 | 269 SOL_SOCKET, SO_PRIORITY, &opt.priority); in cs_write_cmsg() 423 setsockopt(fd, SOL_SOCKET, SO_PRIORITY, in ca_set_sockopts()
|
| /linux-6.15/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-6.15/Documentation/admin-guide/cgroup-v1/ |
| H A D | net_prio.rst | 10 SO_PRIORITY socket option. This however, is not always possible because:
|
| /linux-6.15/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-6.15/Documentation/networking/ |
| H A D | dccp.rst | 59 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to
|
| /linux-6.15/net/core/ |
| H A D | sock.c | 1217 case SO_PRIORITY: in sk_setsockopt() 1791 case SO_PRIORITY: in sk_getsockopt() 3018 case SO_PRIORITY: in __sock_cmsg_send()
|
| H A D | filter.c | 5262 case SO_PRIORITY: in sol_socket_sockopt()
|
| /linux-6.15/net/ |
| H A D | socket.c | 990 put_cmsg(msg, SOL_SOCKET, SO_PRIORITY, sizeof(__u32), &priority); in sock_recv_priority()
|