]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_flow_classify.c
net: add rte prefix to ether defines
[dpdk.git] / app / test / test_flow_classify.c
index f81bbba3ac8ad93e1f84bcd47360e0bf8190e0ac..3f06f3005a7765f8961278f6475fa9a33b4a9e80 100644 (file)
@@ -504,7 +504,7 @@ init_ipv4_udp_traffic(struct rte_mempool *mp,
        printf("Set up IPv4 UDP traffic\n");
        initialize_eth_header(&pkt_eth_hdr,
                (struct rte_ether_addr *)src_mac,
-               (struct rte_ether_addr *)dst_mac, ETHER_TYPE_IPv4, 0, 0);
+               (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPv4, 0, 0);
        pktlen = (uint16_t)(sizeof(struct rte_ether_hdr));
        printf("ETH  pktlen %u\n", pktlen);
 
@@ -541,7 +541,7 @@ init_ipv4_tcp_traffic(struct rte_mempool *mp,
        printf("Set up IPv4 TCP traffic\n");
        initialize_eth_header(&pkt_eth_hdr,
                (struct rte_ether_addr *)src_mac,
-               (struct rte_ether_addr *)dst_mac, ETHER_TYPE_IPv4, 0, 0);
+               (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPv4, 0, 0);
        pktlen = (uint16_t)(sizeof(struct rte_ether_hdr));
        printf("ETH  pktlen %u\n", pktlen);
 
@@ -578,7 +578,7 @@ init_ipv4_sctp_traffic(struct rte_mempool *mp,
        printf("Set up IPv4 SCTP traffic\n");
        initialize_eth_header(&pkt_eth_hdr,
                (struct rte_ether_addr *)src_mac,
-               (struct rte_ether_addr *)dst_mac, ETHER_TYPE_IPv4, 0, 0);
+               (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPv4, 0, 0);
        pktlen = (uint16_t)(sizeof(struct rte_ether_hdr));
        printf("ETH  pktlen %u\n", pktlen);