/third_party/iptables/extensions/ |
D | libxt_tos.t | 2 -m tos --tos Minimize-Delay;-m tos --tos 0x10/0x3f;OK 3 -m tos --tos Maximize-Throughput;-m tos --tos 0x08/0x3f;OK 4 -m tos --tos Maximize-Reliability;-m tos --tos 0x04/0x3f;OK 5 -m tos --tos Minimize-Cost;-m tos --tos 0x02/0x3f;OK 6 -m tos --tos Normal-Service;-m tos --tos 0x00/0x3f;OK 7 -m tos --tos 0xff;=;OK 8 -m tos ! --tos 0xff;=;OK 9 -m tos --tos 0x00;=;OK 10 -m tos --tos 0x0f;=;OK 11 -m tos --tos 0x0f/0x0f;=;OK [all …]
|
D | libxt_TOS.t | 3 -j TOS --set-tos 0x1f;=;OK 4 -j TOS --set-tos 0x1f/0x1f;=;OK 6 # ERROR: should fail: iptables -A PREROUTING -t mangle -j TOS --set-tos 0xff 7 # -j TOS --set-tos 0xff;;FAIL 8 -j TOS --set-tos Minimize-Delay;-j TOS --set-tos 0x10;OK 9 -j TOS --set-tos Maximize-Throughput;-j TOS --set-tos 0x08;OK 10 -j TOS --set-tos Maximize-Reliability;-j TOS --set-tos 0x04;OK 11 -j TOS --set-tos Minimize-Cost;-j TOS --set-tos 0x02;OK 12 -j TOS --set-tos Normal-Service;-j TOS --set-tos 0x00;OK 13 -j TOS --and-tos 0x12;-j TOS --set-tos 0x00/0xed;OK [all …]
|
D | libxt_TOS.txlate | 1 ip6tables-translate -A INPUT -j TOS --set-tos 0x1f 4 ip6tables-translate -A INPUT -j TOS --set-tos 0xff 7 ip6tables-translate -A INPUT -j TOS --set-tos Minimize-Delay 10 ip6tables-translate -A INPUT -j TOS --set-tos Minimize-Cost 13 ip6tables-translate -A INPUT -j TOS --set-tos Normal-Service 16 ip6tables-translate -A INPUT -j TOS --and-tos 0x12 19 ip6tables-translate -A INPUT -j TOS --or-tos 0x12 22 ip6tables-translate -A INPUT -j TOS --xor-tos 0x12
|
D | libxt_TOS.man | 6 \fB\-\-set\-tos\fP \fIvalue\fP[\fB/\fP\fImask\fP] 10 \fB\-\-set\-tos\fP \fIsymbol\fP 17 \fB\-\-and\-tos\fP \fIbits\fP 18 Binary AND the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos 22 \fB\-\-or\-tos\fP \fIbits\fP 23 Binary OR the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos\fP 26 \fB\-\-xor\-tos\fP \fIbits\fP 27 Binary XOR the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos\fP 35 aformentioned kernels forgo the inversion which breaks \-\-set\-tos and its
|
D | libxt_TOS.c | 19 uint8_t tos; member 103 info->tos = cb->val.tos_value; in tos_tg_parse_v0() 144 if (numeric || !tos_try_print_symbolic("", info->tos, 0xFF)) in tos_tg_print_v0() 145 printf("0x%02x", info->tos); in tos_tg_print_v0() 176 printf(" --set-tos 0x%02x", info->tos); in tos_tg_save_v0() 191 uint8_t dscp = info->tos >> 2; in tos_xlate() 203 uint8_t dscp = info->tos >> 2; in tos_xlate6()
|
D | libxt_tos.man | 5 [\fB!\fP] \fB\-\-tos\fP \fIvalue\fP[\fB/\fP\fImask\fP] 9 [\fB!\fP] \fB\-\-tos\fP \fIsymbol\fP 10 You can specify a symbolic name when using the tos match for IPv4. The list of 11 recognized TOS names can be obtained by calling iptables with \fB\-m tos \-h\fP.
|
D | libxt_tos.c | 19 uint8_t tos; member 65 info->tos = cb->val.tos_value; in tos_mt_parse_v0() 89 if (numeric || !tos_try_print_symbolic("", info->tos, 0x3F)) in tos_mt_print_v0() 90 printf("0x%02x", info->tos); in tos_mt_print_v0() 112 printf(" --tos 0x%02x", info->tos); in tos_mt_save_v0()
|
/third_party/lwip/src/include/lwip/ |
D | ip.h | 85 u8_t tos; \ 228 #define ip_output(p, src, dest, ttl, tos, proto) \ argument 230 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \ 231 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto)) 236 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 238 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \ 239 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif)) 244 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 246 ip6_output_if_src(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \ 247 ip4_output_if_src(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif)) [all …]
|
D | ip4.h | 73 u8_t ttl, u8_t tos, u8_t proto); 75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif); 80 u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint); 84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
|
/third_party/gstreamer/gstreamer/libs/gst/net/ |
D | gstnetutils.c | 65 gint tos, fd; in gst_net_utils_set_socket_tos() local 69 tos = (qos_dscp & 0x3f) << 2; in gst_net_utils_set_socket_tos() 71 if (setsockopt (fd, IPPROTO_IP, IP_TOS, &tos, sizeof (tos)) < 0) { in gst_net_utils_set_socket_tos() 78 if (setsockopt (fd, IPPROTO_IPV6, IPV6_TCLASS, &tos, sizeof (tos)) < 0) { in gst_net_utils_set_socket_tos()
|
/third_party/boost/boost/histogram/ |
D | ostream.hpp | 207 tabular_ostream_wrapper<OStream, 7> tos(os); in ascii_plot() local 210 ostream_head(tos.row(), ax, v.index(), *v); in ascii_plot() 214 tos.complete(); in ascii_plot() 220 const auto w_head = std::accumulate(tos.begin(), tos.end(), 0); in ascii_plot() 229 ostream_head(tos.row(), ax, v.index(), *v); in ascii_plot() 257 tabular_ostream_wrapper<OStream, (BOOST_HISTOGRAM_DETAIL_AXES_LIMIT + 1)> tos(os); in ostream() local 259 tos.row(); in ostream() 260 for (auto i : v.indices()) tos << std::right << i; in ostream() 261 ostream_value(tos, *v); in ostream() 263 tos.complete(); in ostream() [all …]
|
/third_party/boost/boost/lockfree/ |
D | stack.hpp | 135 return tos.is_lock_free() && pool.is_lock_free(); in is_lock_free() 249 tos.store(tagged_node_handle(pool.null_handle(), 0)); in initialize() 254 tagged_node_handle old_tos = tos.load(detail::memory_order_relaxed); in link_nodes_atomic() 259 if (tos.compare_exchange_weak(old_tos, new_tos)) in link_nodes_atomic() 266 tagged_node_handle old_tos = tos.load(detail::memory_order_relaxed); in link_nodes_unsafe() 271 tos.store(new_tos, memory_order_relaxed); in link_nodes_unsafe() 498 tagged_node_handle old_tos = tos.load(detail::memory_order_relaxed); in unsynchronized_pop() 507 tos.store(new_tos, memory_order_relaxed); in unsynchronized_pop() 524 tagged_node_handle old_tos = tos.load(detail::memory_order_consume); in consume_one() 533 if (tos.compare_exchange_weak(old_tos, new_tos)) { in consume_one() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | socket-util.c | 169 int tos = IPTOS_LOWDELAY; in pa_make_tcp_socket_low_delay() local 171 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay() 173 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay() 187 int tos = IPTOS_LOWDELAY; in pa_make_udp_socket_low_delay() local 189 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_udp_socket_low_delay() 191 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_udp_socket_low_delay()
|
/third_party/libnl/include/linux-private/linux/ |
D | ip.h | 24 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK) argument 31 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK) argument 96 __u8 tos; member
|
/third_party/musl/porting/liteos_m/kernel/include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/musl/porting/liteos_a/kernel/include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/musl/include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/musl/ndk_musl_include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/musl/porting/uniproton/kernel/include/netinet/ |
D | ip.h | 32 uint8_t tos; member 119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) argument 127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) argument
|
/third_party/libnl/lib/route/link/ |
D | ipip.c | 45 uint8_t tos; member 119 ipip->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ipip_parse() 156 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, ipip->tos); in ipip_put_attrs() 223 nl_dump_line(p, "%u\n", ipip->tos); in ipip_dump_details() 470 int rtnl_link_ipip_set_tos(struct rtnl_link *link, uint8_t tos) in rtnl_link_ipip_set_tos() argument 476 ipip->tos = tos; in rtnl_link_ipip_set_tos() 494 return ipip->tos; in rtnl_link_ipip_get_tos()
|
D | ip6tnl.c | 49 uint8_t tos; member 129 ip6_tnl->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in ip6_tnl_parse() 181 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, ip6_tnl->tos); in ip6_tnl_put_attrs() 262 nl_dump_line(p, "%d\n", ip6_tnl->tos); in ip6_tnl_dump_details() 528 int rtnl_link_ip6_tnl_set_tos(struct rtnl_link *link, uint8_t tos) in rtnl_link_ip6_tnl_set_tos() argument 534 ip6_tnl->tos = tos; in rtnl_link_ip6_tnl_set_tos() 552 return ip6_tnl->tos; in rtnl_link_ip6_tnl_get_tos()
|
D | sit.c | 51 uint8_t tos; member 137 sit->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]); in sit_parse() 205 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, sit->tos); in sit_put_attrs() 291 nl_dump_line(p, "%u\n", sit->tos); in sit_dump_details() 558 int rtnl_link_sit_set_tos(struct rtnl_link *link, uint8_t tos) in rtnl_link_sit_set_tos() argument 562 sit->tos = tos; in rtnl_link_sit_set_tos() 578 return sit->tos; in rtnl_link_sit_get_tos()
|
/third_party/lwip/src/core/ipv4/ |
D | ip4.c | 788 u8_t ttl, u8_t tos, argument 792 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 803 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, argument 815 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, 818 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); 828 u8_t ttl, u8_t tos, argument 832 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0); 841 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, argument 921 IPH_TOS_SET(iphdr, tos); 923 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8)); [all …]
|
/third_party/libnl/src/ |
D | nl-fib-lookup.c | 40 int tos = 0, err = 1; in main() local 69 tos = strtoul(optarg, NULL, 0); in main() 96 flnl_request_set_tos(request, tos); in main()
|