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

12

/external/kernel-headers/original/linux/netfilter_ipv4/
H A Dipt_TOS.h9 u_int8_t tos; member in struct:ipt_tos_target_info
H A Dipt_tos_.h5 u_int8_t tos; member in struct:ipt_tos_info
/external/iptables/extensions/
H A Dlibipt_TOS.c13 struct ipt_tos_target_info tos; member in struct:tosinfo
38 " --set-tos value Set Type of Service field to one of the\n"
51 { "set-tos", 1, 0, '1' },
64 unsigned int i, tos; local
66 if (string_to_number(s, 0, 255, &tos) != -1) {
67 if (tos == IPTOS_LOWDELAY
68 || tos == IPTOS_THROUGHPUT
69 || tos == IPTOS_RELIABILITY
70 || tos == IPTOS_MINCOST
71 || tos
120 print_tos(u_int8_t tos, int numeric) argument
156 static struct iptables_target tos = { variable in typeref:struct:iptables_target
[all...]
H A Dlibipt_2tos.c33 "[!] --tos value Match Type of Service field from one of the\n"
46 { "tos", 1, 0, '1' },
54 unsigned int tos; local
56 if (string_to_number(s, 0, 255, &tos) != -1) {
57 if (tos == IPTOS_LOWDELAY
58 || tos == IPTOS_THROUGHPUT
59 || tos == IPTOS_RELIABILITY
60 || tos == IPTOS_MINCOST
61 || tos == IPTOS_NORMALSVC) {
62 info->tos
106 print_tos(u_int8_t tos, int numeric) argument
155 static struct iptables_match tos = { variable in typeref:struct:iptables_match
[all...]
/external/kernel-headers/original/linux/
H A Dip.h23 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
30 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
92 __u8 tos; member in struct:iphdr
/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/qemu/slirp/
H A Dmisc.h54 u_int8_t tos; member in struct:tos_t
61 u_int8_t tos; member in struct:emu_t
H A Dmisc.c635 u_int8_t tos = 0, emu = 0; local
664 tos = IPTOS_LOWDELAY;
666 tos = IPTOS_THROUGHPUT;
696 emup->tos = tos;
707 if (tos)
708 so->so_iptos = tos;
/external/qemu/slirp-android/
H A Dmisc.h54 u_int8_t tos; member in struct:tos_t
61 u_int8_t tos; member in struct:emu_t
H A Dmisc.c596 u_int8_t tos = 0, emu = 0; local
625 tos = IPTOS_LOWDELAY;
627 tos = IPTOS_THROUGHPUT;
657 emup->tos = tos;
668 if (tos)
669 so->so_iptos = tos;
H A Dudp.c373 while(udptos[i].tos) {
377 return udptos[i].tos;
/external/iproute2/include/linux/
H A Dfib_rules.h21 __u8 tos; member in struct:fib_rule_hdr
/external/iproute2/ip/
H A Dlink_gre.c32 fprintf(stderr, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
63 __u8 tos = 0; local
126 tos = *(__u8 *)RTA_DATA(greinfo[IFLA_GRE_TOS]);
224 } else if (!matches(*argv, "tos") ||
233 tos = uval;
235 tos = 1;
264 addattr_l(n, 1024, IFLA_GRE_TOS, &tos, 1);
315 int tos = *(__u8 *)RTA_DATA(tb[IFLA_GRE_TOS]); local
317 fputs("tos ", f);
318 if (tos
[all...]
H A Diptunnel.c39 fprintf(stderr, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
180 } else if (strcmp(*argv, "tos") == 0 ||
188 p->iph.tos = uval;
190 p->iph.tos = 1;
352 if (p->iph.tos) {
354 printf(" tos");
355 if (p->iph.tos&1)
357 if (p->iph.tos&~1)
358 printf("%c%s ", p->iph.tos&1 ? '/' : ' ',
359 rtnl_dsfield_n2a(p->iph.tos
[all...]
H A Diproute.c56 fprintf(stderr, " [ oif STRING ] [ tos TOS ]\n");
62 fprintf(stderr, "NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ]\n");
96 int tos, tosmask; member in struct:__anon1797
195 if ((filter.tos^r->rtm_tos)&filter.tosmask)
346 fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
734 } else if (strcmp(*argv, "tos") == 0 ||
736 __u32 tos; local
738 if (rtnl_dsfield_a2n(&tos, *argv))
739 invarg("\"tos\" value is invalid\n", *argv);
740 req.r.rtm_tos = tos;
1077 __u32 tos; local
1309 __u32 tos; local
[all...]
H A Diprule.c36 fprintf(stderr, "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n");
127 fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
267 } else if (strcmp(*argv, "tos") == 0) {
268 __u32 tos; local
270 if (rtnl_dsfield_a2n(&tos, *argv))
272 req.r.rtm_tos = tos;
/external/bison/src/
H A Dtables.c87 static base_number **tos; variable
392 tos[s] = sp2 = xnmalloc (count, sizeof *sp2);
499 tos[symno] = sp2 = xnmalloc (count, sizeof *sp2);
653 if (tos[j][k] != tos[i][k] || froms[j][k] != froms[i][k]
673 base_number *to = tos[i];
815 tos = xcalloc (nvectors, sizeof *tos);
838 free (tos[i]);
843 free (tos);
[all...]
/external/iptables/
H A DAndroid.mk54 PF_EXT_SLIB+=2tcpmss 2tos 2ttl udp unclean CLASSIFY CONNMARK DNAT LOG #DSCP ECN
H A Dip6tables-save.c183 e->ipv6.tos);
/external/kernel-headers/original/linux/netfilter_ipv6/
H A Dip6_tables.h51 u_int8_t tos; member in struct:ip6t_ip6
/external/v8/src/
H A Dvirtual-frame.cc370 Result tos = Pop();
374 SetElementAt(0, &tos);
/external/iptables/libiptc/
H A Dlibip6tc.c177 printf("TOS: %u\n", e->ipv6.tos);
221 || a->ipv6.tos != b->ipv6.tos
/external/srec/tools/grxmlcompile/
H A Dsub_min.cpp65 int fix, six, fnxt, snxt, tof, tos, count; local
98 tos= arc[forwardList[six]]->GetToId();
100 // printf ("Debug inner %d %d, %d %d\n", tof, tos, equivMap[tof], equivMap[tos]);
103 // if (tos >= 0)
104 // assert (tos == equivMap[tos]);
108 || tos != tof)
/external/ping/
H A Dping.c1572 ip->version, ip->ihl, ip->tos, ip->tot_len, ip->id);
1607 int tos; local
1613 tos = (int)strtol(cp, &ep, 16);
1615 tos = (int)strtol(str, &ep, 10);
1623 if (tos > TOS_MAX) {
1627 return(tos);
1668 " [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination\n");

Completed in 529 milliseconds

12