FD.io VPP  v19.08-24-ge6a5712
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

mfib_table_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Required for pool_get_aligned.

Field Documentation

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.

u8* mfib_table_t_::mft_desc

Table description.

Definition at line 81 of file mfib_table.h.

fib_node_index_t mfib_table_t_::mft_index

Index into FIB vector.

Definition at line 71 of file mfib_table.h.

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.

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.

u32 mfib_table_t_::mft_table_id

Table ID (hash key) for this FIB.

Definition at line 66 of file mfib_table.h.

u32 mfib_table_t_::mft_total_route_counts

Total route counters.

Definition at line 76 of file mfib_table.h.

ip4_mfib_t mfib_table_t_::v4

Definition at line 49 of file mfib_table.h.

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: