net: add rte prefix to IP defines
[dpdk.git] / app / test / test_link_bonding_mode4.c
index 96466a1..98f9fe2 100644 (file)
@@ -729,14 +729,14 @@ generate_packets(struct rte_ether_addr *src_mac,
 
        uint16_t src_port = 10, dst_port = 20;
 
-       uint32_t ip_src[4] = { [0 ... 2] = 0xDEADBEEF, [3] = IPv4(192, 168, 0, 1) };
-       uint32_t ip_dst[4] = { [0 ... 2] = 0xFEEDFACE, [3] = IPv4(192, 168, 0, 2) };
+       uint32_t ip_src[4] = { [0 ... 2] = 0xDEADBEEF, [3] = RTE_IPv4(192, 168, 0, 1) };
+       uint32_t ip_dst[4] = { [0 ... 2] = 0xFEEDFACE, [3] = RTE_IPv4(192, 168, 0, 2) };
 
        struct rte_ether_hdr pkt_eth_hdr;
        struct udp_hdr pkt_udp_hdr;
        union {
-               struct ipv4_hdr v4;
-               struct ipv6_hdr v6;
+               struct rte_ipv4_hdr v4;
+               struct rte_ipv6_hdr v6;
        } pkt_ip_hdr;
 
        int retval;