16 #ifndef __MFIB_ITF_H__ 17 #define __MFIB_ITF_H__ 86 return (mfi - mfib_itf_pool);
index_t mfib_itf_create(fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
u8 * format_mfib_itf(u8 *s, va_list *args)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
uword * mfi_hash
A hash table of path-inidices that are contributing flags to this interface.
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)
Get the MFIB interface representation.
u32 mfi_si
The index of the signal in the pending list.
mfib_itf_flags_t mfi_flags
Forwarding Flags on the entry - checked in the data-path.
void mfib_itf_delete(mfib_itf_t *itf)
u32 fib_node_index_t
A typedef of a node index.
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
Required for pool_get_aligned.
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
int mfib_itf_update(mfib_itf_t *itf, fib_node_index_t path_index, mfib_itf_flags_t mfi_flags)
update an interface from a path.