Searched refs:iph4 (Results 1 – 2 of 2) sorted by relevance
757 const struct rte_ipv4_hdr *iph4; in test_ipsec_td_verify() local789 if (iph4->fragment_offset) { in test_ipsec_td_verify()886 if (!is_valid_ipv4_pkt(iph4)) { in test_ipsec_iph4_hdr_validate()910 tos = iph4->type_of_service; in test_ipsec_iph4_hdr_validate()1130 struct rte_ipv4_hdr *iph4; in test_ipsec_pkt_update() local1142 if (!is_ipv4(iph4)) { in test_ipsec_pkt_update()1164 if (is_ipv4(iph4)) { in test_ipsec_pkt_update()1167 tos = iph4->type_of_service; in test_ipsec_pkt_update()1175 iph4->type_of_service = tos; in test_ipsec_pkt_update()1195 iph4->hdr_checksum = 0; in test_ipsec_pkt_update()[all …]
378 const struct rte_ipv4_hdr *iph4; in prepare_one_packet() local387 iph4 = (const struct rte_ipv4_hdr *)rte_pktmbuf_adj(pkt, in prepare_one_packet()389 adjust_ipv4_pktlen(pkt, iph4, 0); in prepare_one_packet()391 switch (iph4->next_proto_id) { in prepare_one_packet()397 ip4_hdr_len = ((iph4->version_ihl & in prepare_one_packet()413 t->ip4.data[t->ip4.num] = &iph4->next_proto_id; in prepare_one_packet()417 pkt->l3_len = sizeof(*iph4); in prepare_one_packet()