net: add rte prefix to arp structures
[dpdk.git] / app / test-pmd / icmpecho.c
index 55d266d..c461ef7 100644 (file)
@@ -277,7 +277,7 @@ reply_to_icmp_echo_rqsts(struct fwd_stream *fs)
        struct rte_mbuf *pkt;
        struct ether_hdr *eth_h;
        struct vlan_hdr *vlan_h;
-       struct arp_hdr  *arp_h;
+       struct rte_arp_hdr  *arp_h;
        struct ipv4_hdr *ip_h;
        struct icmp_hdr *icmp_h;
        struct ether_addr eth_addr;
@@ -347,7 +347,7 @@ reply_to_icmp_echo_rqsts(struct fwd_stream *fs)
 
                /* Reply to ARP requests */
                if (eth_type == ETHER_TYPE_ARP) {
-                       arp_h = (struct arp_hdr *) ((char *)eth_h + l2_len);
+                       arp_h = (struct rte_arp_hdr *) ((char *)eth_h + l2_len);
                        arp_op = RTE_BE_TO_CPU_16(arp_h->arp_op);
                        arp_pro = RTE_BE_TO_CPU_16(arp_h->arp_pro);
                        if (verbose_level > 0) {