app/crypto-perf: support lookaside IPsec
[dpdk.git] / examples / ipv4_multicast / main.c
index cc527d7..818843c 100644 (file)
@@ -20,7 +20,6 @@
 #include <rte_memcpy.h>
 #include <rte_eal.h>
 #include <rte_launch.h>
-#include <rte_atomic.h>
 #include <rte_cycles.h>
 #include <rte_prefetch.h>
 #include <rte_lcore.h>
@@ -283,8 +282,8 @@ mcast_send_pkt(struct rte_mbuf *pkt, struct rte_ether_addr *dest_addr,
                rte_pktmbuf_prepend(pkt, (uint16_t)sizeof(*ethdr));
        RTE_ASSERT(ethdr != NULL);
 
-       rte_ether_addr_copy(dest_addr, &ethdr->d_addr);
-       rte_ether_addr_copy(&ports_eth_addr[port], &ethdr->s_addr);
+       rte_ether_addr_copy(dest_addr, &ethdr->dst_addr);
+       rte_ether_addr_copy(&ports_eth_addr[port], &ethdr->src_addr);
        ethdr->ether_type = rte_be_to_cpu_16(RTE_ETHER_TYPE_IPV4);
 
        /* Put new packet into the output queue */