]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/ipv4_multicast.rst
net: add rte prefix to IP defines
[dpdk.git] / doc / guides / sample_app_ug / ipv4_multicast.rst
index 46c920433195c2f568b96bd00253d0c48954718e..ea7902b2db45fd70f2246ccab61f6f980809c932 100644 (file)
@@ -155,7 +155,7 @@ if the routing table has any ports assigned to the destination address:
 
 .. code-block:: c
 
-    if (!IS_IPV4_MCAST(dest_addr) ||
+    if (!RTE_IS_IPV4_MCAST(dest_addr) ||
        (hash = rte_fbk_hash_lookup(mcast_hash, dest_addr)) <= 0 ||
        (port_mask = hash & enabled_port_mask) == 0) {
            rte_pktmbuf_free(m);