Searched defs:tos (Results 1 - 25 of 66) sorted by relevance

123

/external/iptables/include/linux/netfilter_bridge/
H A Debt_ip.h36 __u8 tos; member in struct:ebt_ip_info
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_ip.h36 __u8 tos; member in struct:ebt_ip_info
/external/libnl/src/
H A Dnl-fib-lookup.c22 " -T, --tos <int> Type of Service\n");
37 int tos = 0, err = 1; local
45 {"tos", 1, 0, 'T'},
66 tos = strtoul(optarg, NULL, 0);
93 flnl_request_set_tos(request, tos);
/external/iproute2/ip/
H A Diplink_geneve.c21 fprintf(f, " [ ttl TTL ] [ tos TOS ]\n");
42 __u8 tos = 0; local
72 } else if (!matches(*argv, "tos") ||
80 tos = uval;
82 tos = 1;
110 addattr8(n, 1024, IFLA_GENEVE_TOS, tos);
119 __u8 tos; local
153 (tos = rta_getattr_u8(tb[IFLA_GENEVE_TOS]))) {
154 if (tos == 1)
155 fprintf(f, "tos inheri
[all...]
H A Diproute_lwtunnel.c100 fprintf(fp, "tos %d ", rta_getattr_u8(tb[LWTUNNEL_IP_TOS]));
219 } else if (strcmp(*argv, "tos") == 0) {
220 __u32 tos; local
223 duparg2("tos", *argv);
224 if (rtnl_dsfield_a2n(&tos, *argv))
225 invarg("\"tos\" value is invalid\n", *argv);
226 rta_addattr8(rta, len, LWTUNNEL_IP_TOS, tos);
H A Diplink_vxlan.c27 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ dev PHYS_DEV ]\n");
59 __u8 tos = 0; local
135 } else if (!matches(*argv, "tos") ||
143 tos = uval;
145 tos = 1;
274 addattr8(n, 1024, IFLA_VXLAN_TOS, tos);
310 __u8 tos; local
398 (tos = rta_getattr_u8(tb[IFLA_VXLAN_TOS]))) {
399 if (tos == 1)
400 fprintf(f, "tos inheri
[all...]
H A Diprule.c38 fprintf(stderr, "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n");
124 fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
376 } else if (strcmp(*argv, "tos") == 0 ||
378 __u32 tos; local
380 if (rtnl_dsfield_a2n(&tos, *argv))
382 req.r.rtm_tos = tos;
H A Dlink_gre.c31 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
71 __u8 tos = 0; local
139 tos = rta_getattr_u8(greinfo[IFLA_GRE_TOS]);
252 } else if (!matches(*argv, "tos") ||
261 tos = uval;
263 tos = 1;
328 addattr_l(n, 1024, IFLA_GRE_TOS, &tos, 1);
386 int tos = rta_getattr_u8(tb[IFLA_GRE_TOS]); local
388 fputs("tos ", f);
389 if (tos
[all...]
H A Dlink_iptnl.c30 fprintf(f, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
70 __u8 tos = 0; local
129 tos = rta_getattr_u8(iptuninfo[IFLA_IPTUN_TOS]);
196 } else if (strcmp(*argv, "tos") == 0 ||
204 tos = uval;
206 tos = 1;
298 addattr8(n, 1024, IFLA_IPTUN_TOS, tos);
368 int tos = rta_getattr_u8(tb[IFLA_IPTUN_TOS]); local
370 fputs("tos ", f);
371 if (tos
[all...]
/external/iptables/extensions/
H A Dlibxt_tos.c2 * Shared library add-on to iptables to add tos match support
19 uint8_t tos; member in struct:ipt_tos_info
28 {.name = "tos", .id = O_TOS, .type = XTTYPE_TOSMASK,
34 {.name = "tos", .id = O_TOS, .type = XTTYPE_TOSMASK,
44 "tos match options:\n"
45 "[!] --tos value[/mask] Match Type of Service/Priority field value\n"
46 "[!] --tos symbol Match TOS field (IPv4 only) by symbol\n"
62 xtables_error(PARAMETER_PROBLEM, "tos: Your kernel is "
65 info->tos = cb->val.tos_value;
86 printf(" tos matc
[all...]
H A Dlibxt_TOS.c19 uint8_t tos; member in struct:ipt_tos_target_info
35 {.name = "set-tos", .id = O_SET_TOS, .type = XTTYPE_TOSMASK,
41 {.name = "set-tos", .id = O_SET_TOS, .type = XTTYPE_TOSMASK,
43 {.name = "and-tos", .id = O_AND_TOS, .type = XTTYPE_UINT8,
45 {.name = "or-tos", .id = O_OR_TOS, .type = XTTYPE_UINT8,
47 {.name = "xor-tos", .id = O_XOR_TOS, .type = XTTYPE_UINT8,
58 " --set-tos value Set Type of Service/Priority field to value\n"
59 " --set-tos symbol Set TOS field (IPv4 only) by symbol\n"
75 " --set-tos value[/mask] Set Type of Service/Priority field to value\n"
77 " --set-tos symbo
[all...]
/external/strace/tests/
H A Dinet-cmsg.c57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); local
59 printf("IP_TOS, cmsg_data=[%#x]", *tos);
/external/strace/tests-m32/
H A Dinet-cmsg.c57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); local
59 printf("IP_TOS, cmsg_data=[%#x]", *tos);
/external/strace/tests-mx32/
H A Dinet-cmsg.c57 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); local
59 printf("IP_TOS, cmsg_data=[%#x]", *tos);
/external/libnl/lib/fib_lookup/
H A Drequest.c108 void flnl_request_set_tos(struct flnl_request *req, int tos) argument
110 req->lr_tos = tos;
H A Dlookup.c214 int tos, scope, table; local
218 tos = flnl_request_get_tos(req);
223 fr.fl_tos = tos >= 0 ? tos : 0;
/external/icu/icu4c/source/i18n/
H A Dregexcmp.cpp1805 UnicodeSet *tos = (UnicodeSet *)fSetStack.peek(); local
1806 tos->addAll(*s);
1817 UnicodeSet *tos = (UnicodeSet *)fSetStack.peek(); local
1818 tos->addAll(*s);
/external/iproute2/include/linux/
H A Dfib_rules.h22 __u8 tos; member in struct:fib_rule_hdr
/external/kernel-headers/original/uapi/linux/
H A Dfib_rules.h22 __u8 tos; member in struct:fib_rule_hdr
/external/libnl/include/linux-private/linux/
H A Dfib_rules.h19 __u8 tos; member in struct:fib_rule_hdr
/external/libnl/lib/route/link/
H A Dipip.c44 uint8_t tos; member in struct:ipip_info
114 ipip->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]);
151 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, ipip->tos);
211 nl_dump(p, " tos ");
212 nl_dump_line(p, "%u\n", ipip->tos);
453 * Set IPIP tunnel tos
455 * @arg tos tunnel tos
459 int rtnl_link_ipip_set_tos(struct rtnl_link *link, uint8_t tos) argument
465 ipip->tos
[all...]
H A Dsit.c46 uint8_t tos; member in struct:sit_info
120 sit->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]);
167 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, sit->tos);
234 nl_dump(p, " tos ");
235 nl_dump_line(p, "%u\n", sit->tos);
481 * Set SIT tunnel tos
483 * @arg tos tunnel tos
487 int rtnl_link_sit_set_tos(struct rtnl_link *link, uint8_t tos) argument
493 sit->tos
[all...]
/external/libunwind/src/dwarf/
H A DGexpr.c199 unsigned int tos = 0; local
206 if ((tos - 1) >= MAX_EXPR_STACK_SIZE) \
211 stack[--tos]; \
215 if (tos >= MAX_EXPR_STACK_SIZE) \
220 stack[tos++] = (x); \
224 unsigned int _index = tos - 1 - (n); \
/external/syslinux/core/lwip/src/core/ipv4/
H A Dip.c561 * @param tos the TOS value to be set in the IP header
573 u8_t ttl, u8_t tos,
577 return ip_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
587 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
660 IPH_VHLTOS_SET(iphdr, 4, ip_hlen / 4, tos);
741 * @param tos the TOS value to be set in the IP header
749 u8_t ttl, u8_t tos, u8_t proto)
764 return ip_output_if(p, src, dest, ttl, tos, proto, netif);
778 * @param tos the TOS value to be set in the IP header
788 u8_t ttl, u8_t tos, u8_
572 ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) argument
586 ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) argument
748 ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) argument
787 ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) argument
[all...]
/external/tcpdump/
H A Dprint-cnfp.c81 uint8_t tos; /* IP type of service */ member in struct:nfrec_v1
114 uint8_t tos; /* IP type of service */ member in struct:nfrec_v5
148 uint8_t tos; /* IP type of service */ member in struct:nfrec_v6
235 ND_PRINT((ndo, "tos %u, %u (%u octets) %s",
236 nr->tos,
332 ND_PRINT((ndo, "tos %u, %u (%u octets) %s",
333 nr->tos,
432 ND_PRINT((ndo, "tos %u, %u (%u octets) %s",
433 nr->tos,

Completed in 488 milliseconds

123