| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | tcp_tos_reflect_kern.c | 57 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 D | in.h | 49 #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 D | in.h | 49 #define IP_TOS 1 /* int; IP type of service and precedence. */ macro
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | in.h | 94 #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 D | in.h | 90 #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 D | in.h | 90 #define IP_TOS 1 macro
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | in.h | 94 #define IP_TOS 1 macro
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-netkit/netkit-telnet/files/ |
| H A D | To-aviod-buffer-overflow-in-telnet.patch | 64 #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 D | linuxver.h | 94 #undef IP_TOS
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | linuxver.h | 95 #undef IP_TOS
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | linuxver.h | 95 #undef IP_TOS
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | linuxver.h | 95 #undef IP_TOS
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | linuxver.h | 98 #undef IP_TOS
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | linuxver.h | 98 #undef IP_TOS
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 4772 case IP_TOS: in _bpf_setsockopt() 4946 case IP_TOS: in _bpf_getsockopt()
|