| /src/etc/ |
| ntp.conf | 34 tos minsane 2 42 tos minclock 3 maxclock 6 129 # servers from the pool, according to the tos minclock/maxclock targets.
|
| /src/common/lib/libc/gmon/ |
| mcount.c | 198 toindex = ++p->tos[0].link; 204 top = &p->tos[(size_t)toindex]; 210 top = &p->tos[(size_t)toindex]; 232 toindex = ++p->tos[0].link; 236 top = &p->tos[(size_t)toindex]; 247 top = &p->tos[top->link]; 308 qtoindex = q->tos[qtoindex].link) { 309 selfpc = q->tos[qtoindex].selfpc; 310 count = q->tos[qtoindex].count; 318 toindex = ++p->tos[0].link [all...] |
| /src/lib/libc/gmon/ |
| gmon.c | 155 GMON_ALLOC(cp, p->tos, p->tossize); 163 p->tos[0].link = 0; 235 __alignof(*_gmonparam.tos) + _gmonparam.tossize), 246 GMON_ALLOC(cp, p->tos, p->tossize); 247 memset(p->tos, 0, p->tossize); 274 qtoindex = q->tos[qtoindex].link) { 275 selfpc = q->tos[qtoindex].selfpc; 276 count = q->tos[qtoindex].count; 284 toindex = ++p->tos[0].link; 290 top = &p->tos[(size_t)toindex] [all...] |
| /src/usr.sbin/altq/altqd/altq.conf.samples/ |
| cbq.diffedge | 42 filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc 54 filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4 55 filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4 56 filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4 57 filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4
|
| hfsc.diffedge | 42 filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc 56 filter pvc0 af1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4 57 filter pvc0 af2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4 58 filter pvc0 af3x_class 0 0 0 0 0 tos 0x60 tosmask 0xe4 59 filter pvc0 af4x_class 0 0 0 0 0 tos 0x80 tosmask 0xe4
|
| /src/sys/sys/ |
| gmon.h | 127 struct tostruct *tos; member in struct:gmonparam
|
| /src/usr.sbin/kgmon/ |
| kgmon.c | 345 struct tostruct *tos; local 435 if ((tos = malloc((size_t)kvp->gpm.tossize)) == NULL) 436 err(EXIT_FAILURE, "cannot allocate %zu tos space", 439 i = kvm_read(kvp->kd, (u_long)kvp->gpm.tos, (void *)tos, 444 if (sysctl(mib, miblen, tos, &i, NULL, 0) < 0) 448 errx(EXIT_FAILURE, "read tos: read %zu, got %zu: %s", 461 toindex = tos[toindex].link) { 465 getprogname(), frompc, tos[toindex].selfpc, 466 tos[toindex].count) [all...] |
| /src/sys/netinet/ |
| in_gif.c | 92 u_int8_t tos; local 120 tos = ip->ip_tos; 135 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; 162 ip_ecn_ingress(ECN_ALLOWED, &iphdr.ip_tos, &tos); 164 ip_ecn_ingress(ECN_NOCARE, &iphdr.ip_tos, &tos);
|
| /src/sys/kern/ |
| subr_prof.c | 67 * Froms is actually a bunch of unsigned shorts indexing tos 130 p->tos = (struct tostruct *)cp; 171 CTLFLAG_READWRITE, CTLTYPE_STRUCT, "tos", 192 _gmonparam.tos = p->tos; 202 p->tos = (struct tostruct *)cp; 249 /* kern.profiling.{count,froms,tos} */ 262 gp->tos = (struct tostruct *)cp; 308 node.sysctl_data = gp->tos; 380 * if 'kern.profiling.{count,froms,tos}' is written, the sam [all...] |
| /src/usr.sbin/altq/libaltq/ |
| quip_server.c | 288 char src[128], dst[128], smask[128], dmask[128], tos[128]; local 315 tos[0] = '\0'; 317 snprintf(tos, sizeof(tos), " tos %#x tosmask %#x", 326 filt->ff_flow.fi_proto, tos);
|
| parser.c | 107 {"filter", filter_parser, "filter if_name class_name [name filt_name] dst [netmask #] dport src [netmask #] sport proto [tos # [tosmask #] [gpi #] [dontwarn]"}, 560 u_char tos, tosmask; local 632 if (EQUAL(w, "tos")) { 633 tos = 0; 637 tos = (u_char)strtol(w, NULL, 0); 645 sfilt.ff_flow.fi_tos = tos;
|
| /src/sys/netipsec/ |
| ipsecif.c | 134 uint8_t proto, uint8_t tos) 171 ip->ip_tos = tos; 183 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos); 185 ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos); 228 int tos; local 245 tos = ip->ip_tos; 261 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; 273 *tos0 = tos; 372 u_int8_t tos; local 413 m = ipsecif4_flowinfo(m, family, &proto, &tos); [all...] |
| /src/libexec/telnetd/ |
| telnetd.c | 165 int tos = -1; local 314 fprintf(stderr, "%s%s\n", "TOS option unavailable; ", 424 if (tos < 0) 425 tos = 020; /* Low Delay bit */ 426 if (tos 428 (char *)&tos, sizeof(tos)) < 0)
|
| /src/sys/net/ |
| if_stf.c | 359 uint8_t tos; local 397 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; 433 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos); 435 ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos);
|
| /src/usr.sbin/traceroute/ |
| traceroute.c | 446 int tos = 0, settos = 0, ttl_flag = 0; local 569 tos = str2val(optarg, "tos", 0, 255); 656 outip->ip_tos = tos; 815 &tos, sizeof(tos)) < 0) 816 err(1, "setsockopt tos %d", tos); 822 err(1, "setsockopt debug %d", tos); 826 err(1, "setsockopt dontroute %d", tos); [all...] |
| /src/usr.bin/ftp/ |
| ftp.c | 253 int tos = IPTOS_LOWDELAY; local 255 (void *)&tos, sizeof(tos)) == -1) { 1794 int tos = IPTOS_THROUGHPUT; local 1796 (void *)&tos, sizeof(tos)) == -1) {
|
| /src/sbin/ping/ |
| ping.c | 247 u_long tos = 0; local 397 tos = strtoul(optarg, &p, 0); 398 if (*p != '\0' || tos > 0xFF) 399 errx(EXIT_FAILURE, "bad tos value: %s", optarg); 572 opack_ip->ip_tos = tos; 1599 (void)printf("Bad TOS for net"); 1602 (void)printf("Bad TOS for host"); 1776 (void)printf("\n Vr HL TOS Len ID Flg off TTL Pro cks Src Dst\n"); 1988 " [-l preload] [-p pattern] [-s size] [-T ttl] [-t tos]"
|
| /src/usr.bin/dc/ |
| bcode.c | 69 static __inline struct value *tos(void); 458 tos(void) function 496 struct value *value = tos(); 508 struct value *value = tos();
|
| /src/dist/pf/sbin/pfctl/ |
| parse.y | 194 u_int32_t tos; 414 %token NOROUTE URPFFAILED FRAGMENT USER GROUP MAXMSS MAXIMUM TTL TOS DROP TABLE 430 %type <v.number> tos not yesno 1750 r.tos = $9.tos; 2095 | tos { 2097 yyerror("tos cannot be redefined"); 2101 filter_opts.tos = $1; 3069 tos : TOS STRING label [all...] |
| pfctl_parser.c | 171 { "net-tos", ICMP_UNREACH, ICMP_UNREACH_TOSNET }, 172 { "host-tos", ICMP_UNREACH, ICMP_UNREACH_TOSHOST }, 184 { "redir-tos-net", ICMP_REDIRECT, ICMP_REDIRECT_TOSNET }, 185 { "redir-tos-host", ICMP_REDIRECT, ICMP_REDIRECT_TOSHOST }, 869 if (r->tos) 870 printf(" tos 0x%2.2x", r->tos);
|
| pfctl_optimize.c | 168 PF_RULE_FIELD(tos, NOMERGE),
|
| /src/sys/dist/pf/net/ |
| pf.c | 3292 else if (r->tos && !(r->tos == pd->tos)) 3767 else if (r->tos && !(r->tos == pd->tos)) 5793 pd.tos = h->ip_tos; 5938 if (pqid || (pd.tos & IPTOS_LOWDELAY)) 5948 if (pqid || (pd.tos & IPTOS_LOWDELAY)) 6153 pd.tos = 0 [all...] |
| pfvar.h | 608 u_int8_t tos; member in struct:pf_rule 1108 u_int8_t tos; member in struct:pf_pdesc
|
| /src/libexec/ftpd/ |
| ftpd.c | 286 int ch, on = 1, tos, keepalive; local 673 tos = IPTOS_LOWDELAY; 674 if (setsockopt(0, IPPROTO_IP, IP_TOS, (char *)&tos, 2003 int retry, tos, keepalive, conerrno; local 2032 tos = IPTOS_THROUGHPUT; 2034 (char *)&tos, sizeof(int));
|
| /src/usr.bin/telnet/ |
| commands.c | 106 int tos = -1; variable
|