mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
net/fib: use UNIVERSAL_ADDRESS_SIZE instead of substitute
This commit is contained in:
parent
a6df5e7426
commit
6c49ec27e0
@ -58,17 +58,11 @@ typedef struct rp_address_msg_t {
|
||||
*/
|
||||
#define FIB_MSG_RP_SIGNAL_SOURCE_ROUTE_CREATED (0x97)
|
||||
|
||||
/**
|
||||
* @brief the size in bytes of a full address
|
||||
* @todo replace with UNIVERSAL_ADDRESS_SIZE (#3022)
|
||||
*/
|
||||
#define FIB_DESTINATION_SIZE_SUBSTITUTE (16)
|
||||
|
||||
/**
|
||||
* @brief entry used to collect available destinations
|
||||
*/
|
||||
typedef struct fib_destination_set_entry_t {
|
||||
uint8_t dest[FIB_DESTINATION_SIZE_SUBSTITUTE]; /**< The destination address */
|
||||
uint8_t dest[UNIVERSAL_ADDRESS_SIZE]; /**< The destination address */
|
||||
size_t dest_size; /**< The destination address size */
|
||||
} fib_destination_set_entry_t;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user