Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtcp_tos_reflect_kern.c57 bpf_setsockopt(skops, SOL_IP, IP_TOS, in bpf_basertt()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Din.h49 #define IP_TOS 1 /* int; IP type of service and precedence. */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Din.h49 #define IP_TOS 1 /* int; IP type of service and precedence. */ macro
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Din.h94 #define IP_TOS 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Din.h90 #define IP_TOS 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Din.h90 #define IP_TOS 1 macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Din.h94 #define IP_TOS 1 macro
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-netkit/netkit-telnet/files/
H A DTo-aviod-buffer-overflow-in-telnet.patch64 #if defined(HAS_IPPROTO_IP) && defined(IP_TOS)
66 #endif /* defined(HAS_IPPROTO_IP) && defined(IP_TOS) */
727 if (tos && (setsockopt(net, IPPROTO_IP, IP_TOS, &tos, sizeof(int)) < 0)
730 perror("telnet: setsockopt (IP_TOS) (ignored)");
731 #endif /* defined(IPPROTO_IP) && defined(IP_TOS) */
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dlinuxver.h94 #undef IP_TOS
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dlinuxver.h95 #undef IP_TOS
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dlinuxver.h95 #undef IP_TOS
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dlinuxver.h95 #undef IP_TOS
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dlinuxver.h98 #undef IP_TOS
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dlinuxver.h98 #undef IP_TOS
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c4772 case IP_TOS: in _bpf_setsockopt()
4946 case IP_TOS: in _bpf_getsockopt()