Searched refs:tos (Results 1 - 25 of 106) sorted by relevance

12345

/external/kernel-headers/original/uapi/linux/
H A Din_route.h30 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
H A Dip.h23 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
30 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
95 __u8 tos; member in struct:iphdr
H A Dfib_rules.h22 __u8 tos; member in struct:fib_rule_hdr
/external/iproute2/examples/diffserv/
H A DEdge32-ca-u3258 match ip tos 0x88 0xfc \
62 match ip tos 0x88 0xfc \
71 match ip tos 0x88 0xfc \
75 match ip tos 0x88 0xfc \
83 match ip tos 0x88 0xfc \
87 match ip tos 0x88 0xfc \
98 match ip tos 0x90 0xfc \
102 match ip tos 0x90 0xfc \
110 match ip tos 0x90 0xfc \
114 match ip tos
[all...]
H A DEdge31-ca-u3254 match ip tos 0x88 0xfc \
63 match ip tos 0x88 0xfc \
71 match ip tos 0x88 0xfc \
83 match ip tos 0x90 0xfc \
91 match ip tos 0x90 0xfc \
102 match ip tos 0x98 0xfc \
/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 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 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/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/libnl/include/linux-private/linux/
H A Dip.h23 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
30 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
95 __u8 tos; member in struct:iphdr
H A Dfib_rules.h19 __u8 tos; member in struct:fib_rule_hdr
/external/syslinux/core/lwip/src/include/ipv4/lwip/
H A Dip.h83 u8_t tos; \
154 #define IPH_VHLTOS_SET(hdr, v, hl, tos) (hdr)->_v_hl_tos = (htons(((v) << 12) | ((hl) << 8) | (tos)))
175 u8_t ttl, u8_t tos, u8_t proto);
177 u8_t ttl, u8_t tos, u8_t proto,
181 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint);
185 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
/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/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/libnl/include/netlink/route/link/
H A Dipip.h37 extern int rtnl_link_ipip_set_tos(struct rtnl_link *link, uint8_t tos);
H A Dip6tnl.h37 extern int rtnl_link_ip6_tnl_set_tos(struct rtnl_link *link, uint8_t tos);
H A Dipgre.h49 extern int rtnl_link_ipgre_set_tos(struct rtnl_link *link, uint8_t tos);
/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 Dip6tnl.c48 uint8_t tos; member in struct:ip6_tnl_info
124 ip6_tnl->tos = nla_get_u8(tb[IFLA_IPTUN_TOS]);
176 NLA_PUT_U8(msg, IFLA_IPTUN_TOS, ip6_tnl->tos);
250 nl_dump(p, " tos ");
251 nl_dump_line(p, "%d\n", ip6_tnl->tos);
511 * Set IP6_TNL tunnel tos
513 * @arg tos tunnel tos
517 int rtnl_link_ip6_tnl_set_tos(struct rtnl_link *link, uint8_t tos) argument
523 ip6_tnl->tos
[all...]
H A Dipgre.c48 uint8_t tos; member in struct:ipgre_info
146 ipgre->tos = nla_get_u8(tb[IFLA_GRE_TOS]);
195 NLA_PUT_U8(msg, IFLA_GRE_TOS, ipgre->tos);
276 nl_dump(p, " tos ");
277 nl_dump_line(p, "%u\n", ipgre->tos);
652 * Set IPGRE tunnel tos
654 * @arg tos tunnel tos
658 int rtnl_link_ipgre_set_tos(struct rtnl_link *link, uint8_t tos) argument
664 ipgre->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/iproute2/include/linux/
H A Dfib_rules.h22 __u8 tos; member in struct:fib_rule_hdr

Completed in 837 milliseconds

12345