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

123

/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/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
H A DCipherOutputStreamTest.java56 TestOutputStream tos = new TestOutputStream();
57 CipherOutputStream cos = new CipherOutputStream(tos);
60 byte[] result = tos.toByteArray();
72 TestOutputStream tos = new TestOutputStream();
73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
78 byte[] result = tos.toByteArray();
90 TestOutputStream tos = new TestOutputStream();
91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
94 byte[] result = tos.toByteArray();
105 TestOutputStream tos
[all...]
/external/kernel-headers/original/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)
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.c599 u_int8_t tos = 0, emu = 0; local
628 tos = IPTOS_LOWDELAY;
630 tos = IPTOS_THROUGHPUT;
660 emup->tos = tos;
671 if (tos)
672 so->so_iptos = tos;
/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/libppp/src/
H A Dncp.h42 unsigned tos : 1; /* Urgent IPTOS_LOWDELAY packets ? */ member in struct:ncp::__anon8827::__anon8828
94 #define ncp_ClearUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 0;
95 #define ncp_SetUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 1;
H A Dip.c576 u_char tos; local
592 tos = 0; /* XXX: pip6->ip6_vfc >> 4 ? */
604 tos = pip->ip_tos;
651 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
815 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos)
/external/iproute2/include/linux/
H A Dfib_rules.h22 __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.c40 fprintf(stderr, " [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
181 } else if (strcmp(*argv, "tos") == 0 ||
189 p->iph.tos = uval;
191 p->iph.tos = 1;
355 if (p->iph.tos) {
357 printf(" tos");
358 if (p->iph.tos&1)
360 if (p->iph.tos&~1)
361 printf("%c%s ", p->iph.tos&1 ? '/' : ' ',
362 rtnl_dsfield_n2a(p->iph.tos
[all...]
H A Diproute.c57 fprintf(stderr, " [ oif STRING ] [ tos TOS ]\n");
63 fprintf(stderr, "NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ]\n");
96 int tos, tosmask; member in struct:__anon7156
188 if ((filter.tos^r->rtm_tos)&filter.tosmask)
339 fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
723 } else if (strcmp(*argv, "tos") == 0 ||
725 __u32 tos; local
727 if (rtnl_dsfield_a2n(&tos, *argv))
728 invarg("\"tos\" value is invalid\n", *argv);
729 req.r.rtm_tos = tos;
1074 __u32 tos; local
1306 __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)));
273 } else if (strcmp(*argv, "tos") == 0 ||
275 __u32 tos; local
277 if (rtnl_dsfield_a2n(&tos, *argv))
279 req.r.rtm_tos = tos;
/external/bison/src/
H A Dtables.c85 static base_number **tos; variable
402 tos[s] = sp2 = xnmalloc (count, sizeof *sp2);
509 tos[symno] = sp2 = xnmalloc (count, sizeof *sp2);
663 if (tos[j][k] != tos[i][k] || froms[j][k] != froms[i][k]
683 base_number *to = tos[i];
825 tos = xcalloc (nvectors, sizeof *tos);
848 free (tos[i]);
853 free (tos);
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.variables_3.2.400.v20100505.jar ... .core.internal.variables.StringSubstitutionEngine$VariableReference tos int length org.eclipse.core.internal. ...
/external/openssh/
H A Dpacket.c1751 packet_set_tos(int tos) argument
1759 debug3("%s: set IP_TOS 0x%02x", __func__, tos);
1761 IPPROTO_IP, IP_TOS, &tos, sizeof(tos)) < 0)
1763 tos, strerror(errno));
1768 debug3("%s: set IPV6_TCLASS 0x%02x", __func__, tos);
1770 IPPROTO_IPV6, IPV6_TCLASS, &tos, sizeof(tos)) < 0)
1772 tos, strerror(errno));
/external/iptables/include/linux/netfilter_ipv6/
H A Dip6_tables.h51 u_int8_t tos; member in struct:ip6t_ip6
/external/kernel-headers/original/linux/netfilter_ipv6/
H A Dip6_tables.h51 u_int8_t tos; member in struct:ip6t_ip6

Completed in 432 milliseconds

123