| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_null_header_reconstruct.py | 132 def gen_pkt_plain_ipv4(self, src, dst, tos): argument 133 pkt = IP(src=src, dst=dst, tos=tos) 148 pkt[IP].tos = tos_outter 166 pkt[IP].tos = tos_outter 199 self.assertEqual(resp[IP].tos, ECN_CE) 239 self.assertEqual(resp[IP].tos, ECN_CE) 278 self.assertEqual(resp[IP].tos, ECN_CE) 326 self.assertEqual(resp[IP].tos, ECN_CE) 333 self.assertEqual(resp[IP].tos, ECN_CE) 338 self.assertEqual(resp[IP].tos, ECN_CE) [all …]
|
| /f-stack/freebsd/libkern/ |
| H A D | mcount.c | 177 toindex = ++p->tos[0].link; in _MCOUNT_DECL() 183 top = &p->tos[toindex]; in _MCOUNT_DECL() 189 top = &p->tos[toindex]; in _MCOUNT_DECL() 211 toindex = ++p->tos[0].link; in _MCOUNT_DECL() 215 top = &p->tos[toindex]; in _MCOUNT_DECL() 226 top = &p->tos[top->link]; in _MCOUNT_DECL()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_radix.c | 543 int slot, tos; in vm_radix_lookup_ge() local 555 tos = 0; in vm_radix_lookup_ge() 576 if (tos == 0) in vm_radix_lookup_ge() 578 rnode = stack[--tos]; in vm_radix_lookup_ge() 635 KASSERT(tos < VM_RADIX_LIMIT, in vm_radix_lookup_ge() 637 stack[tos++] = rnode; in vm_radix_lookup_ge() 655 int slot, tos; in vm_radix_lookup_le() local 667 tos = 0; in vm_radix_lookup_le() 691 if (tos == 0) in vm_radix_lookup_le() 693 rnode = stack[--tos]; in vm_radix_lookup_le() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | subr_pctrie.c | 491 unsigned tos; in pctrie_lookup_ge() local 504 tos = 0; in pctrie_lookup_ge() 525 if (tos == 0) in pctrie_lookup_ge() 527 node = stack[--tos]; in pctrie_lookup_ge() 585 KASSERT(tos < PCTRIE_LIMIT, in pctrie_lookup_ge() 587 stack[tos++] = node; in pctrie_lookup_ge() 606 unsigned tos; in pctrie_lookup_le() local 619 tos = 0; in pctrie_lookup_le() 643 if (tos == 0) in pctrie_lookup_le() 645 node = stack[--tos]; in pctrie_lookup_le() [all …]
|
| H A D | subr_prof.c | 116 np.tos = (struct tostruct *)cp; in kmupetext() 128 bcopy(p->tos, np.tos, p->tossize); in kmupetext() 129 bzero((char *)np.tos + p->tossize, np.tossize - p->tossize); in kmupetext() 135 cp = (char *)p->tos; in kmupetext() 177 p->tos = (struct tostruct *)cp; in kmstartup() 380 gp->tos, gp->tossize, req)); in sysctl_kern_prof()
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | netflow_v9.h | 66 uint8_t tos; /* IP type of service IN (or OUT) (TOS) */ member 91 uint8_t tos; /* IP type of service IN (or OUT) (TOS) */ member
|
| H A D | netflow.h | 104 uint8_t tos; /* IP type of service */ member 127 uint8_t tos; /* IP type of service */ member
|
| H A D | ng_netflow.h | 206 u_char tos; /* IP TOS */ member 235 u_char tos; /* IP TOS */ member 243 #define r_tos misc.i.tos
|
| H A D | netflow_v9.c | 286 rec->tos = fed->r.r_tos; in export9_add() 317 rec->tos = fed6->r.r_tos; in export9_add()
|
| /f-stack/tools/compat/include/netgraph/netflow/ |
| H A D | netflow.h | 102 uint8_t tos; /* IP type of service */ member 125 uint8_t tos; /* IP type of service */ member
|
| H A D | ng_netflow.h | 206 u_char tos; /* IP TOS */ member 235 u_char tos; /* IP TOS */ member 243 #define r_tos misc.i.tos
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | rte_pmd_iavf.h | 48 uint16_t tos:8, member 208 data.ipv4.tos, in rte_pmd_ifd_dump_proto_xtr_metadata()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | rte_pmd_ice.h | 48 uint16_t tos:8, member 205 data.ipv4.tos, in rte_net_ice_dump_proto_xtr_metadata()
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_fdir.c | 1053 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 1067 ice_pkt_insert_u8(pkt, ICE_IPV4_TOS_OFFSET, input->ip_outer.v4.tos); in ice_fdir_get_gen_prgm_pkt() 1076 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 1090 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 1099 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 1398 a->ip.v4.tos == b->ip.v4.tos) in ice_fdir_comp_rules()
|
| H A D | ice_fdir.h | 124 u8 tos; member
|
| H A D | ice_protocol_type.h | 229 u8 tos; member
|
| /f-stack/freebsd/net/ |
| H A D | if_stf.c | 415 u_int8_t tos; in stf_output() local 458 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in stf_output() 503 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos); in stf_output() 505 ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos); in stf_output()
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | iph.h | 117 set_ipv6_tc(rte_be32_t vtc_flow, uint32_t tos) in set_ipv6_tc() argument 121 v = rte_cpu_to_be_32(tos << RTE_IPV6_HDR_TC_SHIFT); in set_ipv6_tc()
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_clsf.c | 178 if (input->flow.ip4_flow.tos) { in copy_fltr_v2() 179 ip4_mask.type_of_service = masks->ipv4_mask.tos; in copy_fltr_v2() 180 ip4_val.type_of_service = input->flow.ip4_flow.tos; in copy_fltr_v2()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmip.h | 163 uint8_t tos ; member
|
| /f-stack/freebsd/sys/ |
| H A D | gmon.h | 163 struct tostruct *tos; member
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.h | 57 uint32_t tos:TOS_BITWIDTH; /* TOS/Traffic Type */ member
|
| H A D | cxgbe_filter.c | 83 U(F_TOS, tos) || U(F_VNIC_ID, pfvf_vld)) in cxgbe_validate_filter() 357 if (tp->tos_shift >= 0 && f->fs.mask.tos) in hash_filter_ntuple() 358 ntuple |= (u64)f->fs.val.tos << tp->tos_shift; in hash_filter_ntuple() 848 fwr->ttyp = f->fs.val.tos; in set_filter_wr() 849 fwr->ttypm = f->fs.mask.tos; in set_filter_wr()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_eth_ctrl.h | 168 uint8_t tos; /**< Type of service to match. */ member
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_output.c | 1269 uint8_t tos; in ieee80211_classify() local 1275 offsetof(struct ip, ip_tos), sizeof(tos), &tos); in ieee80211_classify() 1276 tos >>= 5; /* NB: ECN + low 3 bits of DSCP */ in ieee80211_classify() 1277 d_wme_ac = TID_TO_WME_AC(tos); in ieee80211_classify() 1283 uint8_t tos; in ieee80211_classify() local 1290 tos = (uint8_t)(ntohl(flow) >> 20); in ieee80211_classify() 1291 tos >>= 5; /* NB: ECN + low 3 bits of DSCP */ in ieee80211_classify() 1292 d_wme_ac = TID_TO_WME_AC(tos); in ieee80211_classify()
|