| /dpdk/examples/l3fwd/ |
| H A D | l3fwd.h | 172 if (((pkt->version_ihl) >> 4) != 4) in is_valid_ipv4_pkt() 178 if ((pkt->version_ihl & 0xf) < 5) in is_valid_ipv4_pkt()
|
| H A D | l3fwd_common.h | 36 ihl = ipv4_hdr->version_ihl - IPV4_MIN_VER_IHL; in rfc1812_process()
|
| /dpdk/app/test/ |
| H A D | test_flow_classify.c | 109 { { .version_ihl = 0}, 0, 0, 0, 0, 0, IPPROTO_UDP, 0, 145 { { .version_ihl = 0}, 0, 0, 0, 0, 0, IPPROTO_TCP, 0, 164 { { .version_ihl = 0}, 0, 0, 0, 0, 0, IPPROTO_SCTP, 0,
|
| H A D | packet_burst_generator.c | 170 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in initialize_ipv4_header() 218 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in initialize_ipv4_header_proto()
|
| H A D | test_pcapng.c | 70 .version_ihl = RTE_IPV4_VHL_DEF, in mbuf1_prepare()
|
| H A D | test_cryptodev_security_ipsec.c | 30 if (((pkt->version_ihl) >> 4) != 4) in is_valid_ipv4_pkt() 36 if ((pkt->version_ihl & 0xf) < 5) in is_valid_ipv4_pkt() 324 ip_ver = (ipv4->version_ihl & 0xf0) >> RTE_IPV4_IHL_MULTIPLIER; in is_ipv4()
|
| H A D | test_ipfrag.c | 116 hdr->version_ihl = 0x45; /* standard IP header... */ in v4_allocate_packet_of()
|
| H A D | test_bpf.c | 1053 dn->ip_hdr.version_ihl = 0x45; /*IP_VERSION | IP_HDRLEN*/ in test_jump2_prepare() 2495 .imm = offsetof(struct rte_ipv4_hdr, version_ihl), 2625 .version_ihl = RTE_IPV4_VHL_DEF, in test_ld_mbuf1_prepare() 2658 offsetof(struct rte_ipv4_hdr, version_ihl), sizeof(*p8), in test_ld_mbuf1() 2753 .imm = offsetof(struct rte_ipv4_hdr, version_ihl), 3353 .version_ihl = RTE_IPV4_VHL_DEF, in test_bpf_filter_sanity()
|
| H A D | test_ipsec_perf.c | 76 .version_ihl = IPVERSION << 4 |
|
| /dpdk/lib/net/ |
| H A D | rte_ip.h | 44 uint8_t version_ihl; /**< version and header length */ member 137 return (uint8_t)((ipv4_hdr->version_ihl & RTE_IPV4_HDR_IHL_MASK) * in rte_ipv4_hdr_len()
|
| H A D | rte_net.c | 304 pkt_type |= ptype_l3_ip(ip4h->version_ihl); in rte_net_get_ptype() 436 pkt_type |= ptype_inner_l3_ip(ip4h->version_ihl); in rte_net_get_ptype()
|
| /dpdk/lib/ip_frag/ |
| H A D | rte_ipv4_fragmentation.c | 88 header_len = (in_hdr->version_ihl & RTE_IPV4_HDR_IHL_MASK) * in rte_ipv4_fragment_packet()
|
| /dpdk/app/test-pmd/ |
| H A D | flowgen.c | 131 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in pkt_burst_flow_gen()
|
| H A D | txonly.c | 127 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in setup_pkt_udp_ip_headers()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn9k_cryptodev_ops.c | 400 if (((ip->version_ihl & 0xf0) >> RTE_IPV4_IHL_MULTIPLIER) == in cn9k_cpt_sec_post_process() 404 PLT_ASSERT(((ip->version_ihl & 0xf0) >> in cn9k_cpt_sec_post_process()
|
| H A D | cn9k_ipsec.c | 416 ip4->version_ihl = RTE_IPV4_VHL_DEF; in cn9k_ipsec_outb_sa_create()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 1062 size = sizeof(((struct rte_flow_item_ipv4 *)NULL)->hdr.version_ihl); in ulp_rte_ipv4_hdr_handler() 1064 ulp_deference_struct(ipv4_spec, hdr.version_ihl), in ulp_rte_ipv4_hdr_handler() 1065 ulp_deference_struct(ipv4_mask, hdr.version_ihl), in ulp_rte_ipv4_hdr_handler() 1858 size = sizeof(ip->hdr.version_ihl); in ulp_rte_enc_ipv4_hdr_handler() 1859 if (!ip->hdr.version_ihl) in ulp_rte_enc_ipv4_hdr_handler() 1862 val8 = ip->hdr.version_ihl; in ulp_rte_enc_ipv4_hdr_handler()
|
| /dpdk/lib/flow_classify/ |
| H A D | rte_flow_classify_parse.c | 284 if (ipv4_mask->hdr.version_ihl || in classify_parse_ntuple_filter()
|
| /dpdk/app/test-flow-perf/ |
| H A D | actions_gen.c | 589 ipv4_hdr.version_ihl = RTE_IPV4_VHL_DEF; in add_ipv4_header() 864 item_ipv4.hdr.version_ihl = RTE_IPV4_VHL_DEF; in add_vxlan_encap()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_fdir.c | 844 if (ipv4_mask->hdr.version_ihl || in iavf_fdir_parse_pattern() 854 (ipv4_last->hdr.version_ihl || in iavf_fdir_parse_pattern()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_flow.c | 377 if (mask->hdr.version_ihl || in igc_parse_pattern_ip()
|
| /dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1406 if (((pkt->version_ihl) >> 4) != 4) in is_valid_ipv4_pkt() 1412 if ((pkt->version_ihl & 0xf) < 5) in is_valid_ipv4_pkt()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_filter.c | 354 ip->version_ihl = QEDE_FDIR_IP_DEFAULT_VERSION_IHL; in qede_arfs_construct_pkt()
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 523 if (((pkt->version_ihl) >> 4) != 4) in is_valid_ipv4_pkt() 529 if ((pkt->version_ihl & 0xf) < 5) in is_valid_ipv4_pkt()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_fdir.c | 784 ip4->version_ihl = I40E_FDIR_IP_DEFAULT_VERSION_IHL; in fill_ip4_head() 1086 gtp_ipv4->version_ihl = in i40e_flow_fdir_construct_pkt()
|