Home
last modified time | relevance | path

Searched refs:tos (Results 1 – 25 of 34) sorted by path

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c980 int tos; in parse_iptos() local
990 tos = strtonumx(s, 0, 255, &errstr, 0); in parse_iptos()
996 return (tos); in parse_iptos()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c99 int tos = -1; variable
3224 if (tos < 0) in tn()
3225 tos = 020; /* Low Delay bit */ in tn()
3226 if (tos && in tn()
3228 &tos, sizeof (int)) < 0) && in tn()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c190 int tos = -1; in main() local
229 if (optarg == NULL || (tos = atoi(optarg)) < 0 || in main()
230 tos > 255) { in main()
234 if (tos < 0) in main()
235 tos = DEFAULT_TOS; in main()
335 if (tos != -1 && in main()
337 setsockopt(fd, IPPROTO_IP, IP_TOS, (char *)&tos, in main()
338 sizeof (tos)) < 0 && in main()
340 syslog(LOG_ERR, "setsockopt(IP_TOS %d): %m", tos); in main()
H A Din.rshd.c189 int tos = -1; in main() local
249 if (optarg == NULL || ((tos = atoi(optarg)) < 0) || in main()
250 (tos > 255)) { in main()
369 if ((tos != -1) && (setsockopt(fd, IPPROTO_IP, IP_TOS, (char *)&tos, in main()
370 sizeof (tos)) < 0) && in main()
H A Din.telnetd.c2201 int tos = -1; in main() local
2267 if (optarg == NULL || (tos = atoi(optarg)) < 0 || in main()
2268 tos > 255) { in main()
2272 if (tos < 0) in main()
2273 tos = 020; in main()
2386 if (tos != -1 && in main()
2388 (char *)&tos, sizeof (tos)) < 0 && in main()
2390 syslog(LOG_ERR, "setsockopt (IP_TOS %d): %m", tos); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c169 static ushort_t tos; /* type-of-service value */ variable
401 tos = (ushort_t)i; in main()
1606 int_op = tos; in setup_socket()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c334 int tos, metric; in interpret_ospf_lsa() local
479 tos = (tm & SLA_MASK_TOS) >> SLA_SHIFT_TOS; in interpret_ospf_lsa()
483 " tos %d metric %d", tos, metric); in interpret_ospf_lsa()
500 tos = (tm & ASLA_MASK_TOS) >> ASLA_SHIFT_TOS; in interpret_ospf_lsa()
506 tos, metric); in interpret_ospf_lsa()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c184 uchar_t tos = 0; /* IPv4 type-of-service */ variable
463 tos = (uchar_t)str2int(optarg, "tos", 0, MAX_TOS); in main()
1382 int_op = tos; in setup_socket()
H A Dtraceroute.h90 extern unsigned char tos; /* value of tos to set */
H A Dtraceroute_aux.c105 outip->ip_tos = tos; in set_buffers()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c2445 struct filenames *tos, *bos, *fn, *fnn, *fnnn; in follow_path() local
2449 tos = top + 1; in follow_path()
2591 for (fn = tos; fn <= bos; fn++) { in follow_path()
2637 if (fn == tos) in follow_path()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y269 tos ttl proto ip
432 tos: | settos YY_NUMBER { DOALL(fr->fr_tos = $2; fr->fr_mtos = 0xff;) }
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNSEmbeddedAPI.h595 mDNSu8 tos;
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c3152 uchar_t tos = ((struct ip *)rptr)->ip_tos; in tcp_rput_data() local
3162 if ((tos & IPH_ECN_CE) == IPH_ECN_CE) { in tcp_rput_data()
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Drecvmsg.c65 uint8_t tos; /* TOS to set */ member
118 .tos = 0xe0
125 .tos = 0x48
132 .tos = 0x78
140 .tos = 0x90
148 .tos = 0xe0
168 .tos = 0x48
353 if (t->flags & RT_SETTOS && d != t->tos) { in servertest()
355 t->name, d, t->tos); in servertest()
434 int c = t->tos; in clienttest()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c3391 uchar_t tos = ((ipha_t *)rptr)->ipha_type_of_service; in tcp_input_data() local
3393 if ((tos & IPH_ECN_CE) == IPH_ECN_CE) { in tcp_input_data()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h6962 u8_t tos /* Type Of Service, used in PBF Header Builder Command */; member
6966 u8_t tos /* Type Of Service, used in PBF Header Builder Command */; member
9840 u8_t tos; member
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c2607 … xtcp_st->ip_union.padded_ip_v4.ip_v4.tos = tcp->tcp_cached.tos_or_traffic_class; in _lm_tcp_init_xstorm_tcp_context()
3621 ctx->tos = tcp_cached->tos_or_traffic_class; in lm_tcp_set_tcp_cached()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h677 int tos, int protocol, int ethertype,
H A Dt4_hw.c10472 int tos, int protocol, int ethertype, in t4_create_filter_info() argument
10487 BAD_FILTER(tos) || in t4_create_filter_info()
10519 SET_FILTER_FIELD(tos, W_FT_TOS); in t4_create_filter_info()
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_cfg.txt122 # protocol, tos, vlan, vnic_id, port, fcoe
H A Dt5fw_cfg.txt137 # protocol, tos, vlan, vnic_id, port, fcoe
H A Dt6fw_cfg.txt125 # protocol, tos, vlan, vnic_id, port, fcoe
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h147 __u8 tos; member
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h104 uint8_t tos; member

12