Lines Matching refs:l4
332 test_ipsec_csum_init(void *ip, bool l3, bool l4) in test_ipsec_csum_init() argument
352 if (l4) { in test_ipsec_csum_init()
660 void *ip, *l4; in test_ipsec_l4_csum_verify() local
666 l4 = RTE_PTR_ADD(ipv4, sizeof(struct rte_ipv4_hdr)); in test_ipsec_l4_csum_verify()
670 tcp = (struct rte_tcp_hdr *)l4; in test_ipsec_l4_csum_verify()
673 expected_cksum = rte_ipv4_udptcp_cksum(ipv4, l4); in test_ipsec_l4_csum_verify()
676 udp = (struct rte_udp_hdr *)l4; in test_ipsec_l4_csum_verify()
679 expected_cksum = rte_ipv4_udptcp_cksum(ipv4, l4); in test_ipsec_l4_csum_verify()
686 l4 = RTE_PTR_ADD(ipv6, sizeof(struct rte_ipv6_hdr)); in test_ipsec_l4_csum_verify()
690 tcp = (struct rte_tcp_hdr *)l4; in test_ipsec_l4_csum_verify()
693 expected_cksum = rte_ipv6_udptcp_cksum(ipv6, l4); in test_ipsec_l4_csum_verify()
696 udp = (struct rte_udp_hdr *)l4; in test_ipsec_l4_csum_verify()
699 expected_cksum = rte_ipv6_udptcp_cksum(ipv6, l4); in test_ipsec_l4_csum_verify()