mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
sys/universal_address: separate universal_address from fib
This commit is contained in:
parent
533b9d6492
commit
ea5e371383
@ -317,6 +317,7 @@ ifneq (,$(filter nhdp,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter fib,$(USEMODULE)))
|
||||
USEMODULE += universal_address
|
||||
USEMODULE += timex
|
||||
USEMODULE += vtimer
|
||||
USEMODULE += net_help
|
||||
|
@ -167,6 +167,9 @@ endif
|
||||
ifneq (,$(filter ng_netdev_eth,$(USEMODULE)))
|
||||
DIRS += net/link_layer/ng_netdev_eth
|
||||
endif
|
||||
ifneq (,$(filter universal_address,$(USEMODULE)))
|
||||
DIRS += universal_address
|
||||
endif
|
||||
|
||||
DIRS += $(dir $(wildcard $(addsuffix /Makefile, ${USEMODULE})))
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "vtimer.h"
|
||||
#include "ng_universal_address.h"
|
||||
#include "universal_address.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -7,8 +7,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup net_universal_address Universal Address Container
|
||||
* @ingroup net
|
||||
* @defgroup sys_universal_address Universal Address Container
|
||||
* @ingroup sys
|
||||
* @brief universal address container
|
||||
*
|
||||
* @{
|
||||
@ -25,6 +25,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define UNIVERSAL_ADDRESS_SIZE (16) /**< size of the used addresses in bytes */
|
||||
|
||||
/**
|
3
sys/universal_address/Makefile
Normal file
3
sys/universal_address/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
MODULE = universal_address
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -7,7 +7,7 @@
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
* directory for more details.
|
||||
*
|
||||
* @ingroup fib
|
||||
* @ingroup sys_universal_address
|
||||
* @{
|
||||
* @file
|
||||
* @brief Functions to manage universal address container
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
#include "ng_fib/ng_universal_address.h"
|
||||
#include "universal_address.h"
|
||||
|
||||
/**
|
||||
* @brief Maximum number of entries handled
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include "thread.h"
|
||||
#include "ng_fib.h"
|
||||
#include "ng_fib/ng_universal_address.h"
|
||||
#include "universal_address.h"
|
||||
|
||||
/*
|
||||
* @brief helper to fill FIB with unique entries
|
||||
|
Loading…
Reference in New Issue
Block a user