Go to the documentation of this file.
19 #ifndef NET_FIB_TABLE_H
20 #define NET_FIB_TABLE_H
36 #define FIB_MAX_REGISTERED_RP (5)
98 #define FIB_TABLE_TYPE_SH (1)
103 #define FIB_TABLE_TYPE_SR (FIB_TABLE_TYPE_SH + 1)
uint32_t global_flags
Unique identifier for the type of the global address.
int16_t kernel_pid_t
Unique process identifier.
fib_sr_meta_t * source_routes
array holding the FIB entries for source routes
struct fib_sr_entry * next
Pointer to the next shared generic address on the source route.
#define FIB_MAX_REGISTERED_RP
maximum number of handled routing protocols (RP) used to notify the saved kernel_pid_t on unreachable...
fib_entry_t * entries
array holding the FIB entries for single hops
Meta information of a FIB table.
universal_address_container_t * global
Pointer to the shared generic address.
uint32_t sr_flags
Flags for this source route.
The container descriptor used to identify a universal address entry.
Scheduler API definition.
size_t notify_rp_pos
current number of registered RPs.
struct fib_sr_entry fib_sr_entry_t
Container descriptor for a FIB source route entry.
uint64_t lifetime
Lifetime of this entry (an absolute time-point is stored by the FIB)
mutex_t mtx_access
table access mutex to grant exclusive operations on calls
size_t size
the maximum number of entries in this FIB table
Container descriptor for a FIB source route.
kernel_pid_t sr_iface_id
interface ID
uint64_t sr_lifetime
Lifetime of this entry (an absolute time-point is stored by the FIB)
universal_address_container_t * address
Pointer to the shared generic address.
uint8_t table_type
the kind of this FIB table, single hop or source route.
Container descriptor for a FIB source route entry.
Mutex for thread synchronization.
uint32_t next_hop_flags
Unique identifier for the type of the next hop address.
fib_sr_entry_t * sr_dest
Pointer to the destination of the source route.
Types and functions for operating universal addresses.
Container descriptor for a FIB entry.
fib_sr_entry_t * sr_path
Pointer to the first hop on the source route.
universal_address_container_t * next_hop
Pointer to the shared generic address.
kernel_pid_t iface_id
interface ID