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

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.h92 extern unsigned char tos; /* value of tos to set */
H A Dtraceroute_aux.c107 outip->ip_tos = tos;
H A Dtraceroute.c175 * flow and class are specific to IPv6, tos and off are specific to IPv4.
181 uchar_t tos = 0; /* IPv4 type-of-service */ variable
450 tos = (uchar_t)str2int(optarg, "tos", 0, MAX_TOS);
1358 int_op = tos;
2204 "\t[-q nqueries] [-s src_addr] [-t tos] [-w wait_time] host "
/illumos-gate/usr/src/uts/common/sys/
H A Dxti_inet.h228 #define SET_TOS(prec, tos) ((0x7 & (prec)) << 5 | (0x1e & (tos)))
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h41 uint8_t tos; member in struct:tcpip4_spec_s
49 uint8_t tos; member in struct:tcpip6_spec_s
57 uint8_t tos; member in struct:udpip4_spec_s
65 uint8_t tos; member in struct:udpip6_spec_s
72 uint8_t tos; member in struct:ahip4_spec_s
79 uint8_t tos; member in struct:ahip6_spec_s
112 uint8_t tos; member in struct:ip_user_spec_s
121 uint8_t tos; member in struct:ip6_frag_spec_s
H A Dnxge_fflp_hw.h155 uint32_t tos:8; member in struct:_tcam_class_prg_ip_t::__anon8214::__anon8215
157 uint32_t tos:8;
1156 uint32_t tos : 8; /* 111 : 104 */ member in struct:tcam_ipv4
1166 uint32_t tos : 8; /* 111 : 104 */
1222 uint32_t tos : 8; /* 175 : 168 */ member in struct:tcam_ipv6
1230 uint32_t tos : 8; /* 175 : 168 */
1277 #define ip4_tos_key key.ipv4_e.tos
1286 #define ip4_tos_mask mask.ipv4_e.tos
1295 #define ip6_tos_key key.ipv6_e.tos
1304 #define ip6_tos_mask mask.ipv6_e.tos
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_cpu_p4.c126 kmt_p4_branches_unified(const kmt_p4_flavor_t *p4f, uint_t tos, intptr_t cpuid, argument
132 for (cur = tos, i = 0; i < p4f->p4f_lbrstk_num;
145 kmt_p4_branches_split(const kmt_p4_flavor_t *p4f, uint_t tos, intptr_t cpuid, argument
151 for (cur = tos, i = 0; i < p4f->p4f_lbrstk_num;
320 uint_t tos; local
337 tos = (uintptr_t)kmdb_dpi_msr_get_by_cpu(cpuid, p4f->p4f_msr_tos);
338 tos &= p4f->p4f_lbrstk_num - 1;
342 return (p4f->p4f_branches(p4f, tos, cpuid, verbose));
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c928 tcam_ptr->ip4_tos_key = fspec_key->tos;
929 tcam_ptr->ip4_tos_mask = fspec_mask->tos;
960 tcam_ptr->ip6_tos_key = fspec_key->tos;
961 tcam_ptr->ip6_tos_mask = fspec_mask->tos;
987 tcam_ptr->ip4_tos_key = fspec_key->tos;
988 tcam_ptr->ip4_tos_mask = fspec_mask->tos;
1014 tcam_ptr->ip4_tos_key = fspec_key->tos;
1015 tcam_ptr->ip4_tos_mask = fspec_mask->tos;
1047 tcam_ptr->ip6_tos_key = fspec_key->tos;
1048 tcam_ptr->ip6_tos_mask = fspec_mask->tos;
1804 uint8_t tos, tos_mask, proto, ver = 0; local
[all...]
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c909 caddr_t tos; local
973 tos = (caddr_t)rp->r_sp + STACK_BIAS;
979 tos = (caddr_t)((uintptr_t)tos & ~(STACK_ALIGN - 1ul));
996 fp = (struct sigframe *)(tos - SA(minstacksz));
1134 watched2 = watch_disable_addr(tos, sizeof (struct rwindow),
1136 ucopy(tos, &fp->frwin, sizeof (struct rwindow));
1154 watch_enable_addr(tos, sizeof (struct rwindow), S_READ);
1180 watch_enable_addr(tos, sizeof (struct rwindow), S_READ);
1240 caddr_t tos; local
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h146 __u8 tos; member in struct:offload_req
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h328 * @tos: Type of service.
336 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c336 int tos, metric; local
481 tos = (tm & SLA_MASK_TOS) >> SLA_SHIFT_TOS;
485 " tos %d metric %d", tos, metric);
502 tos = (tm & ASLA_MASK_TOS) >> ASLA_SHIFT_TOS;
506 " type %d tos %d metric %d",
508 tos, metric);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c893 int tos = -1; local
902 if (sscanf(s, "0x%x", (unsigned int *) &tos) != 1 ||
903 tos < 0 || tos > 0xff)
905 return (tos);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c190 int tos = -1; local
229 if (optarg == NULL || (tos = atoi(optarg)) < 0 ||
230 tos > 255) {
231 syslog(LOG_ERR, "%s: illegal tos value: "
234 if (tos < 0)
235 tos = DEFAULT_TOS;
335 if (tos != -1 &&
337 setsockopt(fd, IPPROTO_IP, IP_TOS, (char *)&tos,
338 sizeof (tos)) < 0 &&
340 syslog(LOG_ERR, "setsockopt(IP_TOS %d): %m", tos);
[all...]
H A Din.rshd.c127 * -s <tos> Set the IP TOS option
189 int tos = -1; local
249 if (optarg == NULL || ((tos = atoi(optarg)) < 0) ||
250 (tos > 255)) {
251 syslog(LOG_ERR, "rshd: illegal tos value: "
369 if ((tos != -1) && (setsockopt(fd, IPPROTO_IP, IP_TOS, (char *)&tos,
370 sizeof (tos)) < 0) &&
1700 "[-P path] [-M realm] [-s tos] "
1706 syslog(LOG_ERR, "%s: rshd [-k5eciU] [-P path] [-M realm] [-s tos] "
[all...]
H A Din.telnetd.c2201 int tos = -1; local
2267 if (optarg == NULL || (tos = atoi(optarg)) < 0 ||
2268 tos > 255) {
2269 syslog(LOG_ERR, "telnetd: illegal tos value: "
2272 if (tos < 0)
2273 tos = 020;
2386 if (tos != -1 &&
2388 (char *)&tos, sizeof (tos)) < 0 &&
2390 syslog(LOG_ERR, "setsockopt (IP_TOS %d): %m", tos);
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h106 uint8_t tos; member in struct:ip_user_spec_s
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c105 int tos = -1; variable
3258 if (tos < 0)
3259 tos = 020; /* Low Delay bit */
3260 if (tos &&
3262 &tos, sizeof (int)) < 0) &&
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c168 static ushort_t tos; /* type-of-service value */ variable
397 Fprintf(stderr, "%s: tos value %d out of "
401 tos = (ushort_t)i;
1606 int_op = tos;
2475 "[-i interface] [-P tos] [-p port] [-t ttl] host [data_size] [npackets]\n",
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-device.h228 u8 tos; member in struct:iplro
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_fflp.c1936 * tos: IP TOS bits
1947 uint8_t tos, uint8_t tos_mask,
1966 ip_cls_cfg.bits.ldw.tos = tos;
1946 npi_fflp_cfg_ip_usr_cls_set(npi_handle_t handle, tcam_class_t class, uint8_t tos, uint8_t tos_mask, uint8_t proto, uint8_t ver) argument
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c2455 struct filenames *tos, *bos, *fn, *fnn, *fnnn; local
2459 tos = top + 1;
2601 for (fn = tos; fn <= bos; fn++) {
2647 if (fn == tos)
/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;) } label
1640 { "tos", IPFY_TOS },
1689 { "net-tos", IPFY_ICMPC_NETTOS },
1692 { "host-tos", IPFY_ICMPC_HSTTOS },
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c3180 uchar_t tos = ((ipha_t *)rptr)->ipha_type_of_service; local
3182 if ((tos & IPH_ECN_CE) == IPH_ECN_CE) {
/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 in struct:xstorm_ip_v4_context_section
6966 u8_t tos /* Type Of Service, used in PBF Header Builder Command */; member in struct:xstorm_ip_v4_context_section
9840 u8_t tos; member in struct:toe_update_ramrod_cached_params

Completed in 224 milliseconds

12