Home
last modified time | relevance | path

Searched refs:IP_TOS (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c67 err = setsockopt(sock_fd, SOL_IP, IP_TOS, &buf, 1); in run_getsockopt_test()
75 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
98 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
122 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
141 err = setsockopt(sock_fd, SOL_IP, IP_TOS, &buf, 1); in run_getsockopt_test()
149 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
168 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
180 err = setsockopt(sock_fd, SOL_IP, IP_TOS, &buf, 1); in run_getsockopt_test()
188 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen); in run_getsockopt_test()
217 err = setsockopt(sock_fd, SOL_IP, IP_TOS, &buf, 1); in run_setsockopt_test()
[all …]
Dsockopt.c77 .get_optname = IP_TOS,
78 .set_optname = IP_TOS,
96 .get_optname = IP_TOS,
207 .get_optname = IP_TOS,
377 .get_optname = IP_TOS,
422 .get_optname = IP_TOS,
423 .set_optname = IP_TOS,
442 .set_optname = IP_TOS,
511 .get_optname = IP_TOS,
512 .set_optname = IP_TOS,
[all …]
Dsockopt_sk.c34 err = setsockopt(fd, SOL_IP, IP_TOS, big_buf, optlen); in getsetsockopt()
42 err = getsockopt(fd, SOL_IP, IP_TOS, big_buf, &optlen); in getsetsockopt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dsockopt_multi.c15 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_child()
38 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_parent()
61 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _setsockopt()
Dsockopt_sk.c35 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _getsockopt()
110 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _setsockopt()
/kernel/linux/linux-5.10/samples/bpf/
Dtcp_tos_reflect_kern.c57 bpf_setsockopt(skops, SOL_IP, IP_TOS, in bpf_basertt()
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/
Din.h118 #define IP_TOS 1 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Din.h71 #define IP_TOS 1 macro
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Din.h94 #define IP_TOS 1 macro
/kernel/linux/linux-5.10/include/uapi/linux/
Din.h94 #define IP_TOS 1 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Din.h90 #define IP_TOS 1 macro
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c73 put_cmsg(msg, SOL_IP, IP_TOS, 1, &ip_hdr(skb)->tos); in ip_cmsg_recv_tos()
308 case IP_TOS: in ip_cmsg_send()
903 case IP_TOS: in do_ip_setsockopt()
1044 case IP_TOS: /* This sets both TOS and Precedence */ in do_ip_setsockopt()
1593 case IP_TOS: in do_ip_getsockopt()
1713 put_cmsg(&msg, SOL_IP, IP_TOS, sizeof(tos), &tos); in do_ip_getsockopt()
/kernel/linux/linux-5.10/net/core/
Dfilter.c4786 case IP_TOS: in _bpf_setsockopt()
4960 case IP_TOS: in _bpf_getsockopt()