]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost/main.c
net: add rte prefix to IP structure
[dpdk.git] / examples / vhost / main.c
index d7b34b3d411bc025f1049b8c3ba7a8b0d77d681a..c6a6531e5848d09b29671ff80f93f4083162cf81 100644 (file)
@@ -865,7 +865,7 @@ get_psd_sum(void *l3_hdr, uint64_t ol_flags)
 static void virtio_tx_offload(struct rte_mbuf *m)
 {
        void *l3_hdr;
-       struct ipv4_hdr *ipv4_hdr = NULL;
+       struct rte_ipv4_hdr *ipv4_hdr = NULL;
        struct tcp_hdr *tcp_hdr = NULL;
        struct rte_ether_hdr *eth_hdr =
                rte_pktmbuf_mtod(m, struct rte_ether_hdr *);