]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_pmd_perf.c
net: add rte prefix to ip structure
[dpdk.git] / app / test / test_pmd_perf.c
index 4b973ffc4a3cfb046b66690dcfdf9b3eec5911a6..0d1c1b1ab81a0a120afa99a1fc3a152e774c647d 100644 (file)
@@ -183,7 +183,7 @@ init_traffic(struct rte_mempool *mp,
             struct rte_mbuf **pkts_burst, uint32_t burst_size)
 {
        struct rte_ether_hdr pkt_eth_hdr;
-       struct ipv4_hdr pkt_ipv4_hdr;
+       struct rte_ipv4_hdr pkt_ipv4_hdr;
        struct udp_hdr pkt_udp_hdr;
        uint32_t pktlen;
        static uint8_t src_mac[] = { 0x00, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF };