1
0
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:
Cenk Gündoğan 2015-05-25 21:01:51 +02:00
parent 533b9d6492
commit ea5e371383
7 changed files with 16 additions and 6 deletions

View File

@ -317,6 +317,7 @@ ifneq (,$(filter nhdp,$(USEMODULE)))
endif
ifneq (,$(filter fib,$(USEMODULE)))
USEMODULE += universal_address
USEMODULE += timex
USEMODULE += vtimer
USEMODULE += net_help

View File

@ -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})))

View File

@ -22,7 +22,7 @@
#include <stdint.h>
#include "vtimer.h"
#include "ng_universal_address.h"
#include "universal_address.h"
#ifdef __cplusplus
extern "C" {

View File

@ -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 */
/**

View File

@ -0,0 +1,3 @@
MODULE = universal_address
include $(RIOTBASE)/Makefile.base

View File

@ -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

View File

@ -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