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)
int16_t kernel_pid_t
Unique process identifier.
Mutex for thread synchronization.
Scheduler API definition.
Container descriptor for a FIB entry.
kernel_pid_t iface_id
interface ID
universal_address_container_t * next_hop
Pointer to the shared generic address.
universal_address_container_t * global
Pointer to the shared generic address.
uint32_t next_hop_flags
Unique identifier for the type of the next hop address.
uint32_t global_flags
Unique identifier for the type of the global address.
uint64_t lifetime
Lifetime of this entry (an absolute time-point is stored by the FIB)
Container descriptor for a FIB source route entry.
universal_address_container_t * address
Pointer to the shared generic address.
struct fib_sr_entry * next
Pointer to the next shared generic address on the source route.
Container descriptor for a FIB source route.
fib_sr_entry_t * sr_dest
Pointer to the destination of the 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)
uint32_t sr_flags
Flags for this source route.
fib_sr_entry_t * sr_path
Pointer to the first hop on the source route.
Meta information of a FIB table.
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
size_t notify_rp_pos
current number of registered RPs.
uint8_t table_type
the kind of this FIB table, single hop or source route.
fib_sr_meta_t * source_routes
array holding the FIB entries for source routes
fib_entry_t * entries
array holding the FIB entries for single hops
The container descriptor used to identify a universal address entry.
struct fib_sr_entry fib_sr_entry_t
Container descriptor for a FIB source route entry.
#define FIB_MAX_REGISTERED_RP
maximum number of handled routing protocols (RP) used to notify the saved kernel_pid_t on unreachable...
Types and functions for operating universal addresses.