#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
#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
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)));
}