16 #ifndef __MFIB_ITF_H__ 17 #define __MFIB_ITF_H__ 60 return (mfi - mfib_itf_pool);
u8 * format_mfib_itf(u8 *s, va_list *args)
void mfib_itf_delete(mfib_itf_t *mfi)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
struct mfib_itf_t_ mfib_itf_t
An interface associated with a particular MFIB entry.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static mfib_itf_t * mfib_itf_get(index_t mi)
u32 mfi_si
The index of the signal in the pending list.
mfib_itf_flags_t mfi_flags
Falags on the entry.
An interface associated with a particular MFIB entry.
enum mfib_itf_flags_t_ mfib_itf_flags_t
static index_t mfib_itf_get_index(const mfib_itf_t *mfi)
u32 mfi_sw_if_index
The SW IF index that this MFIB interface represents.
mfib_itf_t * mfib_itf_pool
index_t mfib_itf_create(u32 sw_if_index, mfib_itf_flags_t mfi_flags)