Lines Matching refs:rte_ipv4_hdr
27 is_valid_ipv4_pkt(const struct rte_ipv4_hdr *pkt) in is_valid_ipv4_pkt()
44 if (rte_cpu_to_be_16(pkt->total_length) < sizeof(struct rte_ipv4_hdr)) in is_valid_ipv4_pkt()
321 struct rte_ipv4_hdr *ipv4 = ip; in is_ipv4()
334 struct rte_ipv4_hdr *ipv4; in test_ipsec_csum_init()
342 size = sizeof(struct rte_ipv4_hdr); in test_ipsec_csum_init()
484 struct rte_ipv4_hdr *ip; in test_ipsec_td_prepare()
485 ip = (struct rte_ipv4_hdr *)&td->input_text.data; in test_ipsec_td_prepare()
580 len += sizeof(struct rte_ipv4_hdr); in test_ipsec_tunnel_hdr_len_get()
633 struct rte_ipv4_hdr *ip; in test_ipsec_l3_csum_verify()
635 ip = rte_pktmbuf_mtod(m, struct rte_ipv4_hdr *); in test_ipsec_l3_csum_verify()
656 struct rte_ipv4_hdr *ipv4; in test_ipsec_l4_csum_verify()
666 l4 = RTE_PTR_ADD(ipv4, sizeof(struct rte_ipv4_hdr)); in test_ipsec_l4_csum_verify()
715 struct rte_ipv4_hdr *iph4_ex, *iph4_re; in test_ipsec_ttl_or_hop_decrement_verify()
757 const struct rte_ipv4_hdr *iph4; in test_ipsec_td_verify()
762 iph4 = (const struct rte_ipv4_hdr *)output_text; in test_ipsec_td_verify()
787 const struct rte_ipv4_hdr *iph4; in test_ipsec_td_verify()
788 iph4 = (const struct rte_ipv4_hdr *)output_text; in test_ipsec_td_verify()
880 test_ipsec_iph4_hdr_validate(const struct rte_ipv4_hdr *iph4, in test_ipsec_iph4_hdr_validate()
974 const struct rte_ipv4_hdr *iph4; in test_ipsec_post_process()
983 iph4 = (const struct rte_ipv4_hdr *)output_text; in test_ipsec_post_process()
1130 struct rte_ipv4_hdr *iph4; in test_ipsec_pkt_update()
1134 iph4 = (struct rte_ipv4_hdr *)pkt; in test_ipsec_pkt_update()