ipsec: IPSec protection for multi-point tunnel interfaces
[vpp.git] / src / vnet / bier / bier_hdr_inlines.h
index 4437dc8..e824997 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
@@ -43,7 +48,7 @@
 #define BIER_HDR_1ST_NIBBLE_VALUE 0x5
 
 /**
- * Mask and shift values for fields in the headers trainling word
+ * Mask and shift values for fields in the headers training word
  */
 #define BIER_HDR_PROTO_FIELD_MASK   0x003f
 #define BIER_HDR_OAM_FIELD_MASK     0xc000
@@ -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)));
 }