FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
mfib_table_t_ Struct Reference

A protocol Independent IP multicast FIB table. More...

+ Collaboration diagram for mfib_table_t_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 Required for pool_get_aligned. More...
 

Data Fields

union {
   ip4_mfib_t   v4
 
   ip6_mfib_t   v6
 
}; 
 A union of the protocol specific FIBs that provide the underlying LPM mechanism. More...
 
fib_protocol_t mft_proto
 Which protocol this table serves. More...
 
u16 mft_locks [MFIB_TABLE_N_LOCKS]
 number of locks on the table More...
 
u32 mft_table_id
 Table ID (hash key) for this FIB. More...
 
fib_node_index_t mft_index
 Index into FIB vector. More...
 
u32 mft_total_route_counts
 Total route counters. More...
 
u8mft_desc
 Table description. More...
 

Detailed Description

A protocol Independent IP multicast FIB table.

Definition at line 35 of file mfib_table.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

mfib_table_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Required for pool_get_aligned.

Field Documentation

◆ @336

union { ... }

A union of the protocol specific FIBs that provide the underlying LPM mechanism.

This element is first in the struct so that it is in the first cache line.

◆ mft_desc

u8* mfib_table_t_::mft_desc

Table description.

Definition at line 81 of file mfib_table.h.

◆ mft_index

fib_node_index_t mfib_table_t_::mft_index

Index into FIB vector.

Definition at line 71 of file mfib_table.h.

◆ mft_locks

u16 mfib_table_t_::mft_locks[MFIB_TABLE_N_LOCKS]

number of locks on the table

Definition at line 61 of file mfib_table.h.

◆ mft_proto

fib_protocol_t mfib_table_t_::mft_proto

Which protocol this table serves.

Used to switch on the union above.

Definition at line 56 of file mfib_table.h.

◆ mft_table_id

u32 mfib_table_t_::mft_table_id

Table ID (hash key) for this FIB.

Definition at line 66 of file mfib_table.h.

◆ mft_total_route_counts

u32 mfib_table_t_::mft_total_route_counts

Total route counters.

Definition at line 76 of file mfib_table.h.

◆ v4

ip4_mfib_t mfib_table_t_::v4

Definition at line 49 of file mfib_table.h.

◆ v6

ip6_mfib_t mfib_table_t_::v6

Definition at line 50 of file mfib_table.h.


The documentation for this struct was generated from the following file: