]> git.droids-corp.org - dpdk.git/blobdiff - examples/skeleton/basicfwd.c
net: add rte prefix to ether structures
[dpdk.git] / examples / skeleton / basicfwd.c
index 4aba1dc384bfebe2e2cc3346eb1a810394d0a4f2..7e3cd87158274e6d5bde716de9631dc9680a649b 100644 (file)
@@ -82,7 +82,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
                return retval;
 
        /* Display the port MAC address. */
                return retval;
 
        /* Display the port MAC address. */
-       struct ether_addr addr;
+       struct rte_ether_addr addr;
        rte_eth_macaddr_get(port, &addr);
        printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
                           " %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",
        rte_eth_macaddr_get(port, &addr);
        printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
                           " %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",