Home
last modified time | relevance | path

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

/openbmc/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 Dbpf_tracing_net.h13 #define SO_PRIORITY 12 macro
H A Dbind4_prog.c146 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v4_prog()
H A Dbind6_prog.c160 if (misc_opts(ctx, SO_MARK) || misc_opts(ctx, SO_PRIORITY)) in bind_v6_prog()
H A Dsetget_sockopt.c45 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
/openbmc/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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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()
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dsocket.h24 #define SO_PRIORITY 12 macro
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dsocket.h39 #define SO_PRIORITY 0x000c macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dsocket.h34 #define SO_PRIORITY 0x400c macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dsocket.h42 #define SO_PRIORITY 12 macro
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dsocket.h50 #define SO_PRIORITY 12 macro
/openbmc/linux/include/uapi/asm-generic/
H A Dsocket.h24 #define SO_PRIORITY 12 macro
/openbmc/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
/openbmc/linux/Documentation/admin-guide/cgroup-v1/
H A Dnet_prio.rst10 SO_PRIORITY socket option. This however, is not always possible because:
/openbmc/linux/samples/bpf/
H A Dtest_cgrp2_sock.c162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority()
/openbmc/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()
/openbmc/linux/Documentation/networking/
H A Ddccp.rst59 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to
/openbmc/linux/net/core/
H A Dsock.c1221 case SO_PRIORITY: in sk_setsockopt()
1694 case SO_PRIORITY: in sk_getsockopt()
H A Dfilter.c5205 case SO_PRIORITY: in sol_socket_sockopt()
/openbmc/qemu/linux-user/
H A Dsyscall.c2480 optname = SO_PRIORITY; in do_setsockopt()
2728 optname = SO_PRIORITY; in do_getsockopt()