]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_table_acl.c
test/crypto: check out-of-place support
[dpdk.git] / app / test / test_table_acl.c
index cb039c0945bd40e9d04f3be2d361981416b4812e..0bdf76ab70b36eea1e17fe67273945cbab9d598d 100644 (file)
@@ -112,7 +112,7 @@ parse_ipv4_net(const char *in, uint32_t *addr, uint32_t *mask_len)
        GET_CB_FIELD(in, d, 0, UINT8_MAX, '/');
        GET_CB_FIELD(in, m, 0, sizeof(uint32_t) * CHAR_BIT, 0);
 
-       addr[0] = RTE_IPv4(a, b, c, d);
+       addr[0] = RTE_IPV4(a, b, c, d);
        mask_len[0] = m;
 
        return 0;
@@ -658,8 +658,8 @@ test_pipeline_single_filter(int expected_count)
                                sizeof(struct ipv4_5tuple));
 
                        five_tuple.proto = j;
-                       five_tuple.ip_src = rte_bswap32(RTE_IPv4(192, 168, j, 1));
-                       five_tuple.ip_dst = rte_bswap32(RTE_IPv4(10, 4, j, 1));
+                       five_tuple.ip_src = rte_bswap32(RTE_IPV4(192, 168, j, 1));
+                       five_tuple.ip_dst = rte_bswap32(RTE_IPV4(10, 4, j, 1));
                        five_tuple.port_src = rte_bswap16(100 + j);
                        five_tuple.port_dst = rte_bswap16(200 + j);