/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_multi.c | 67 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 …]
|
D | sockopt.c | 77 .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 …]
|
D | sockopt_sk.c | 34 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/ |
D | sockopt_multi.c | 15 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()
|
D | sockopt_sk.c | 35 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/ |
D | tcp_tos_reflect_kern.c | 57 bpf_setsockopt(skops, SOL_IP, IP_TOS, in bpf_basertt()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | in.h | 118 #define IP_TOS 1 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | in.h | 71 #define IP_TOS 1 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | in.h | 94 #define IP_TOS 1 macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | in.h | 94 #define IP_TOS 1 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | in.h | 90 #define IP_TOS 1 macro
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_sockglue.c | 73 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/ |
D | filter.c | 4786 case IP_TOS: in _bpf_setsockopt() 4960 case IP_TOS: in _bpf_getsockopt()
|