net: add rte prefix to ether defines
[dpdk.git] / app / test-pmd / txonly.c
index eb73194..ae094ab 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).