net: add rte prefix to IP structure
[dpdk.git] / lib / librte_gro / gro_tcp4.h
index ce3471a..0a42a1a 100644 (file)
@@ -269,11 +269,11 @@ check_seq_option(struct gro_tcp4_item *item,
                uint8_t is_atomic)
 {
        struct rte_mbuf *pkt_orig = item->firstseg;
-       struct ipv4_hdr *iph_orig;
+       struct rte_ipv4_hdr *iph_orig;
        struct tcp_hdr *tcph_orig;
        uint16_t len, tcp_hl_orig;
 
-       iph_orig = (struct ipv4_hdr *)(rte_pktmbuf_mtod(pkt_orig, char *) +
+       iph_orig = (struct rte_ipv4_hdr *)(rte_pktmbuf_mtod(pkt_orig, char *) +
                        l2_offset + pkt_orig->l2_len);
        tcph_orig = (struct tcp_hdr *)((char *)iph_orig + pkt_orig->l3_len);
        tcp_hl_orig = pkt_orig->l4_len;