Searched refs:tos (Results 26 - 50 of 101) sorted by relevance

12345

/freebsd-current/contrib/ofed/libirdma/
H A Dosdep.h152 #define rt_tos2priority(tos) (tos >> 5)
/freebsd-current/usr.sbin/iscsid/
H A Discsid.c315 int tos = conn->conn_conf.isc_dscp << 2; local
319 &tos, sizeof(tos)) == -1)
327 &tos, sizeof(tos)) == -1)
/freebsd-current/usr.sbin/ppp/
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)
/freebsd-current/sys/dev/irdma/
H A Dirdma_cm.c537 iph->ip_tos = cm_node->tos;
567 ip6h->ip6_vfc |= cm_node->tos >> 4;
568 ip6h->ip6_flow = cm_node->tos << 20;
2080 ah_info.tc_tos = cm_node->tos;
2157 cm_node->tos = cm_info->tos;
2160 if (listener->tos != cm_info->tos)
2163 listener->tos, cm_info->tos);
[all...]
H A Dosdep.h176 #define rt_tos2priority(tos) (tos >> 5)
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcmatose.c78 static uint8_t tos; variable
222 RDMA_OPTION_ID_TOS, &tos, sizeof tos);
674 tos = (uint8_t) strtoul(optarg, NULL, 0);
H A Dudaddy.c75 static uint8_t tos; variable
242 RDMA_OPTION_ID_TOS, &tos, sizeof tos);
627 tos = (uint8_t) strtoul(optarg, NULL, 0);
/freebsd-current/contrib/wpa/src/common/
H A Ddhcp.h19 #define tos ip_tos macro
/freebsd-current/sys/ofed/include/rdma/
H A Drdma_cm.h356 * @tos: Type of service.
364 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
H A Dib_pack.h237 u8 tos; member in struct:ib_unpacked_ip4
/freebsd-current/usr.bin/indent/
H A Dindent_globs.h314 int tos; /* pointer to top of stack */ member in struct:parser_state
H A Dlexi.c318 if (*buf_ptr == '(' && state->tos <= 1 && state->ind_level == 0 &&
/freebsd-current/sys/netpfil/pf/
H A Dpflow.c291 pflowif->sc_tmpl_ipfix.ipv4_tmpl.tos.field_id =
293 pflowif->sc_tmpl_ipfix.ipv4_tmpl.tos.len = htons(1);
333 pflowif->sc_tmpl_ipfix.ipv6_tmpl.tos.field_id =
335 pflowif->sc_tmpl_ipfix.ipv6_tmpl.tos.len = htons(1);
644 flow1->tos = flow2->tos = st->rule.ptr->tos;
681 flow1->tos = flow2->tos = st->rule.ptr->tos;
[all...]
/freebsd-current/contrib/tcpdump/
H A Dprint-ospf.c589 const union un_tos *tos)
595 toscount = GET_U_1(tos->link.link_tos_count)+1;
602 tos_type = GET_U_1(tos->metrics.tos_type);
607 GET_BE_U_2(tos->metrics.tos_metric));
609 tos++;
588 ospf_print_tos_metrics(netdissect_options *ndo, const union un_tos *tos) argument
/freebsd-current/sys/netgraph/netflow/
H A Dnetflow_v9.c282 rec->tos = fed->r.r_tos;
313 rec->tos = fed6->r.r_tos;
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_ud_header.c132 { STRUCT_FIELD(ip4, tos),
293 iph.ip_tos = header->ip4.tos;
/freebsd-current/sys/net/
H A Dif_stf.c506 u_int8_t tos; local
556 tos = IPV6_TRAFFIC_CLASS(ip6);
613 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos);
615 ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos);
/freebsd-current/sys/dev/cxgbe/
H A Dt4_ioctl.h192 uint8_t tos; /* TOS/Traffic Type */ member in struct:t4_filter_tuple
H A Dt4_filter.c253 if (fs1->mask.tos && fs1->val.tos != fs2->val.tos)
407 if (fs->val.tos || fs->mask.tos)
759 fwr->ttyp = f->fs.val.tos;
760 fwr->ttypm = f->fs.mask.tos;
836 if (tp->tos_shift >= 0 && fs->mask.tos) {
837 *ftuple |= (uint64_t)(fs->val.tos) << tp->tos_shift;
/freebsd-current/sys/dev/ice/
H A Dice_protocol_type.h222 u8 tos; member in struct:ice_ipv4_hdr
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c39 int tos = -1; variable
2221 if (tos < 0 && (tp = gettosbyname("telnet", "tcp")))
2222 tos = tp->t_tos;
2224 if (tos < 0)
2225 tos = 020; /* Low Delay bit */
2226 if (tos
2228 (void *)&tos, sizeof(int)) < 0)
/freebsd-current/contrib/telnet/telnet/
H A Dcommands.c93 int tos = -1; variable
2406 if (tos < 0 && (tp = gettosbyname("telnet", "tcp")))
2407 tos = tp->t_tos;
2409 if (tos < 0)
2410 tos = IPTOS_LOWDELAY;
2411 if (tos
2413 (char *)&tos, sizeof(int)) < 0)
/freebsd-current/crypto/openssh/
H A Dmisc.c274 set_sock_tos(int fd, int tos) argument
285 debug3_f("set socket %d IP_TOS 0x%02x", fd, tos);
287 &tos, sizeof(tos)) == -1) {
289 fd, tos, strerror(errno));
295 debug3_f("set socket %d IPV6_TCLASS 0x%02x", fd, tos);
297 &tos, sizeof(tos)) == -1) {
299 fd, tos, strerror(errno));
/freebsd-current/contrib/tnftp/src/
H A Dftp.c248 int tos = IPTOS_LOWDELAY; local
250 (void *)&tos, sizeof(tos)) == -1) {
1710 int tos = IPTOS_THROUGHPUT; local
1712 (void *)&tos, sizeof(tos)) == -1) {
/freebsd-current/usr.sbin/traceroute/
H A Dtraceroute.c489 int tos = 0, settos = 0; local
665 tos = str2val(optarg, "tos", 0, 255);
758 outip->ip_tos = tos;
839 (char *)&tos, sizeof(tos)) < 0) {
840 Fprintf(stderr, "%s: setsockopt tos %d: %s\n",
841 prog, tos, strerror(errno));
2075 "\t[-q nprobes] [-s src_addr] [-t tos] [-w waittime]\n"

Completed in 775 milliseconds

12345