]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/txonly.c
net: add rte prefix to ether defines
[dpdk.git] / app / test-pmd / txonly.c
index eb7319466eb5515a5e0d13f35974e76fbd0af238..ae094ab947e0047504c0271f9093e64d32c1e48c 100644 (file)
@@ -229,7 +229,7 @@ pkt_burst_transmit(struct fwd_stream *fs)
                 */
                rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr],&eth_hdr.d_addr);
                rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, &eth_hdr.s_addr);
-               eth_hdr.ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);
+               eth_hdr.ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPv4);
 
                /*
                 * Copy headers in first packet segment(s).