fib: Remove _t from struct names
This commit is contained in:
parent
4e8834ae87
commit
54413ece9f
@ -138,7 +138,7 @@ extern "C" {
|
||||
* @sa cbor_clear
|
||||
* @sa cbor_destroy
|
||||
*/
|
||||
typedef struct cbor_stream_t {
|
||||
typedef struct {
|
||||
/** Array containing CBOR encoded data */
|
||||
unsigned char *data;
|
||||
/** Size of the array */
|
||||
|
||||
@ -37,7 +37,7 @@ extern "C" {
|
||||
/**
|
||||
* @brief Routing Protocol (RP) message content to request/reply notification
|
||||
*/
|
||||
typedef struct rp_address_msg_t {
|
||||
typedef struct {
|
||||
uint8_t *address; /**< The pointer to the address */
|
||||
uint8_t address_size; /**< The address size */
|
||||
uint32_t address_flags; /**< The flags for the given address */
|
||||
@ -62,7 +62,7 @@ typedef struct rp_address_msg_t {
|
||||
/**
|
||||
* @brief entry used to collect available destinations
|
||||
*/
|
||||
typedef struct fib_destination_set_entry_t {
|
||||
typedef struct {
|
||||
uint8_t dest[UNIVERSAL_ADDRESS_SIZE]; /**< The destination address */
|
||||
size_t dest_size; /**< The destination address size */
|
||||
} fib_destination_set_entry_t;
|
||||
|
||||
@ -38,7 +38,7 @@ extern "C" {
|
||||
/**
|
||||
* @brief Container descriptor for a FIB entry
|
||||
*/
|
||||
typedef struct fib_entry_t {
|
||||
typedef struct {
|
||||
/** interface ID */
|
||||
kernel_pid_t iface_id;
|
||||
/** Lifetime of this entry (an absolute time-point is stored by the FIB) */
|
||||
@ -46,27 +46,27 @@ typedef struct fib_entry_t {
|
||||
/** Unique identifier for the type of the global address */
|
||||
uint32_t global_flags;
|
||||
/** Pointer to the shared generic address */
|
||||
struct universal_address_container_t *global;
|
||||
universal_address_container_t *global;
|
||||
/** Unique identifier for the type of the next hop address */
|
||||
uint32_t next_hop_flags;
|
||||
/** Pointer to the shared generic address */
|
||||
struct universal_address_container_t *next_hop;
|
||||
universal_address_container_t *next_hop;
|
||||
} fib_entry_t;
|
||||
|
||||
/**
|
||||
* @brief Container descriptor for a FIB source route entry
|
||||
*/
|
||||
typedef struct fib_sr_entry_t {
|
||||
typedef struct fib_sr_entry {
|
||||
/** Pointer to the shared generic address */
|
||||
struct universal_address_container_t *address;
|
||||
universal_address_container_t *address;
|
||||
/** Pointer to the next shared generic address on the source route */
|
||||
struct fib_sr_entry_t *next;
|
||||
struct fib_sr_entry *next;
|
||||
} fib_sr_entry_t;
|
||||
|
||||
/**
|
||||
* @brief Container descriptor for a FIB source route
|
||||
*/
|
||||
typedef struct fib_sr_t {
|
||||
typedef struct {
|
||||
/** interface ID */
|
||||
kernel_pid_t sr_iface_id;
|
||||
/** Lifetime of this entry (an absolute time-point is stored by the FIB) */
|
||||
@ -74,16 +74,16 @@ typedef struct fib_sr_t {
|
||||
/** Flags for this source route */
|
||||
uint32_t sr_flags;
|
||||
/** Pointer to the first hop on the source route */
|
||||
struct fib_sr_entry_t *sr_path;
|
||||
fib_sr_entry_t *sr_path;
|
||||
/** Pointer to the destination of the source route */
|
||||
struct fib_sr_entry_t *sr_dest;
|
||||
fib_sr_entry_t *sr_dest;
|
||||
} fib_sr_t;
|
||||
|
||||
/**
|
||||
* @brief Container for one FIB source route table,
|
||||
* combining source routes and an entry pool
|
||||
*/
|
||||
typedef struct fib_sr_meta_t {
|
||||
typedef struct {
|
||||
/** pointer to source route header array */
|
||||
fib_sr_t *headers;
|
||||
/** pointer to entry pool array holding all hop entries for this table */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user