Home
last modified time | relevance | path

Searched refs:version_ihl (Results 1 – 25 of 51) sorted by relevance

123

/dpdk/examples/l3fwd/
H A Dl3fwd.h172 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 Dl3fwd_common.h36 ihl = ipv4_hdr->version_ihl - IPV4_MIN_VER_IHL; in rfc1812_process()
/dpdk/app/test/
H A Dtest_flow_classify.c109 { { .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 Dpacket_burst_generator.c170 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 Dtest_pcapng.c70 .version_ihl = RTE_IPV4_VHL_DEF, in mbuf1_prepare()
H A Dtest_cryptodev_security_ipsec.c30 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 Dtest_ipfrag.c116 hdr->version_ihl = 0x45; /* standard IP header... */ in v4_allocate_packet_of()
H A Dtest_bpf.c1053 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 Dtest_ipsec_perf.c76 .version_ihl = IPVERSION << 4 |
/dpdk/lib/net/
H A Drte_ip.h44 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 Drte_net.c304 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 Drte_ipv4_fragmentation.c88 header_len = (in_hdr->version_ihl & RTE_IPV4_HDR_IHL_MASK) * in rte_ipv4_fragment_packet()
/dpdk/app/test-pmd/
H A Dflowgen.c131 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in pkt_burst_flow_gen()
H A Dtxonly.c127 ip_hdr->version_ihl = RTE_IPV4_VHL_DEF; in setup_pkt_udp_ip_headers()
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_cryptodev_ops.c400 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 Dcn9k_ipsec.c416 ip4->version_ihl = RTE_IPV4_VHL_DEF; in cn9k_ipsec_outb_sa_create()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c1062 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 Drte_flow_classify_parse.c284 if (ipv4_mask->hdr.version_ihl || in classify_parse_ntuple_filter()
/dpdk/app/test-flow-perf/
H A Dactions_gen.c589 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 Diavf_fdir.c844 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 Digc_flow.c377 if (mask->hdr.version_ihl || in igc_parse_pattern_ip()
/dpdk/examples/l3fwd-acl/
H A Dmain.c1406 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 Dqede_filter.c354 ip->version_ihl = QEDE_FDIR_IP_DEFAULT_VERSION_IHL; in qede_arfs_construct_pkt()
/dpdk/examples/l3fwd-power/
H A Dmain.c523 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 Di40e_fdir.c784 ip4->version_ihl = I40E_FDIR_IP_DEFAULT_VERSION_IHL; in fill_ip4_head()
1086 gtp_ipv4->version_ihl = in i40e_flow_fdir_construct_pkt()

123