]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_net.c
net: add rte prefix to GRE structure
[dpdk.git] / lib / librte_net / rte_net.c
index 5551cce171de51c9e1feb347ed9d5ddbc79a3f3c..d858ab15517aca99136942b79a7341816889934e 100644 (file)
@@ -140,8 +140,8 @@ ptype_tunnel(uint16_t *proto, const struct rte_mbuf *m,
                        [0xa] = 12,
                        [0xb] = 16,
                };
-               const struct gre_hdr *gh;
-               struct gre_hdr gh_copy;
+               const struct rte_gre_hdr *gh;
+               struct rte_gre_hdr gh_copy;
                uint16_t flags;
 
                gh = rte_pktmbuf_read(m, *off, sizeof(*gh), &gh_copy);