HomeSort by: relevance | last modified time | path
    Searched defs:tos (Results 1 - 16 of 16) sorted by relevancy

  /src/sys/netinet/
in_gif.c 92 u_int8_t tos; local in function:in_gif_output
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/net/
if_stf.c 359 uint8_t tos; local in function:stf_output
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/sys/sys/
gmon.h 127 struct tostruct *tos; member in struct:gmonparam
  /src/usr.sbin/altq/libaltq/
quip_server.c 288 char src[128], dst[128], smask[128], dmask[128], tos[128]; local in function:query_filterspec
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 in function:filter_parser
632 if (EQUAL(w, "tos")) {
633 tos = 0;
637 tos = (u_char)strtol(w, NULL, 0);
645 sfilt.ff_flow.fi_tos = tos;
  /src/usr.sbin/kgmon/
kgmon.c 345 struct tostruct *tos; local in function:dumpstate
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/libexec/telnetd/
telnetd.c 165 int tos = -1; local in function:main
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/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 in function:ipsecif4_flowinfo
245 tos = ip->ip_tos;
261 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
273 *tos0 = tos;
372 u_int8_t tos; local in function:ipsecif4_output
413 m = ipsecif4_flowinfo(m, family, &proto, &tos);
    [all...]
  /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...]
  /src/usr.bin/dc/
bcode.c 69 static __inline struct value *tos(void);
458 tos(void) function in typeref:struct:value *
496 struct value *value = tos();
508 struct value *value = tos();
  /src/usr.bin/telnet/
commands.c 106 int tos = -1; variable in typeref:typename:int
  /src/usr.sbin/traceroute/
traceroute.c 446 int tos = 0, settos = 0, ttl_flag = 0; local in function:main
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/sbin/ping/
ping.c 246 u_long tos = 0; local in function:main
396 tos = strtoul(optarg, &p, 0);
397 if (*p != '\0' || tos > 0xFF)
398 errx(EXIT_FAILURE, "bad tos value: %s", optarg);
571 opack_ip->ip_tos = tos;
1598 (void)printf("Bad TOS for net");
1601 (void)printf("Bad TOS for host");
1775 (void)printf("\n Vr HL TOS Len ID Flg off TTL Pro cks Src Dst\n");
1987 " [-l preload] [-p pattern] [-s size] [-T ttl] [-t tos]"
  /src/usr.bin/ftp/
ftp.c 254 int tos = IPTOS_LOWDELAY; local in function:hookup
256 (void *)&tos, sizeof(tos)) == -1) {
1766 int tos = IPTOS_THROUGHPUT; local in function:dataconn
1768 (void *)&tos, sizeof(tos)) == -1) {
  /src/libexec/ftpd/
ftpd.c 286 int ch, on = 1, tos, keepalive; local in function:main
673 tos = IPTOS_LOWDELAY;
674 if (setsockopt(0, IPPROTO_IP, IP_TOS, (char *)&tos,
2003 int retry, tos, keepalive, conerrno; local in function:dataconn
2032 tos = IPTOS_THROUGHPUT;
2034 (char *)&tos, sizeof(int));
  /src/sys/dist/pf/net/
pfvar.h 608 u_int8_t tos; member in struct:pf_rule
1108 u_int8_t tos; member in struct:pf_pdesc

Completed in 94 milliseconds