session: cleanup use of api_client_index
[vpp.git] / src / vnet / bier / bier_hdr_inlines.h
index 4437dc8..81e196d 100644 (file)
 #include <vnet/bier/bier_bit_string.h>
 #include <vnet/ip/ip6_packet.h>
 
+/**
+ * Special Value of the BIER RX interface
+ */
+#define BIER_RX_ITF (~0 - 1)
+
 /**
  * Mask and shift values for the fields incorporated
  * into the header's first word
@@ -170,7 +175,7 @@ bier_hdr_get_proto_id (const bier_hdr_t *bier_hdr)
 static inline void
 bier_hdr_clear (bier_hdr_t *bier_hdr)
 {
-    memset(&bier_hdr->bh_bit_string, 0,
+    clib_memset(&bier_hdr->bh_bit_string, 0,
            bier_hdr_len_id_to_num_buckets(
                bier_hdr_get_len_id(bier_hdr)));
 }