All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
fib_table_t Struct Reference

Meta information of a FIB table. More...

Detailed Description

Meta information of a FIB table.

Definition at line 108 of file table.h.

#include <table.h>

Data Fields

union { 
 
   fib_entry_t *   entries 
 array holding the FIB entries for single hops More...
 
   fib_sr_meta_t *   source_routes 
 array holding the FIB entries for source routes More...
 
data 
 A single hop OR source route data array.
 
uint8_t table_type
 the kind of this FIB table, single hop or source route.
 
size_t size
 the maximum number of entries in this FIB table
 
mutex_t mtx_access
 table access mutex to grant exclusive operations on calls
 
size_t notify_rp_pos
 current number of registered RPs.
 
kernel_pid_t notify_rp [FIB_MAX_REGISTERED_RP]
 the kernel_pid_t of the registered RPs.
 
universal_address_container_tprefix_rp [FIB_MAX_REGISTERED_RP]
 the prefix handled by each registered RP.
 

Field Documentation

◆ entries

fib_entry_t* fib_table_t::entries

array holding the FIB entries for single hops

Definition at line 112 of file table.h.

◆ mtx_access

mutex_t fib_table_t::mtx_access

table access mutex to grant exclusive operations on calls

Definition at line 123 of file table.h.

◆ notify_rp

kernel_pid_t fib_table_t::notify_rp[FIB_MAX_REGISTERED_RP]

the kernel_pid_t of the registered RPs.

Used to notify the RPs by the FIB on certain conditions, e.g. when a destination is unreachable

Definition at line 130 of file table.h.

◆ notify_rp_pos

size_t fib_table_t::notify_rp_pos

current number of registered RPs.

Definition at line 125 of file table.h.

◆ prefix_rp

the prefix handled by each registered RP.

Used to dispatch if the RP is responsible for the condition, e.g. when the unreachable destination is covered by the prefix

Definition at line 135 of file table.h.

◆ size

size_t fib_table_t::size

the maximum number of entries in this FIB table

Definition at line 121 of file table.h.

◆ source_routes

fib_sr_meta_t* fib_table_t::source_routes

array holding the FIB entries for source routes

Definition at line 114 of file table.h.

◆ table_type

uint8_t fib_table_t::table_type

the kind of this FIB table, single hop or source route.

This value indicates what is stored in data of this table

Definition at line 119 of file table.h.


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