Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
d30216dc
Commit
d30216dc
authored
7 years ago
by
Martine Lenders
Browse files
Options
Downloads
Patches
Plain Diff
gnrc_ipv6_nib: add configuration pseudo-modules
parent
d5c96441
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile.dep
+18
-0
18 additions, 0 deletions
Makefile.dep
makefiles/pseudomodules.inc.mk
+4
-0
4 additions, 0 deletions
makefiles/pseudomodules.inc.mk
sys/include/net/gnrc/ipv6/nib/conf.h
+41
-0
41 additions, 0 deletions
sys/include/net/gnrc/ipv6/nib/conf.h
with
63 additions
and
0 deletions
Makefile.dep
+
18
−
0
View file @
d30216dc
...
...
@@ -319,8 +319,26 @@ ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE)))
USEMODULE
+=
ipv6_addr
endif
ifneq
(,$(filter gnrc_ipv6_nib_6lbr,$(USEMODULE)))
USEMODULE
+=
gnrc_ipv6_nib_6lr
endif
ifneq
(,$(filter gnrc_ipv6_nib_6lr,$(USEMODULE)))
USEMODULE
+=
gnrc_ipv6_nib_6ln
USEMODULE
+=
gnrc_ipv6_nib_router
endif
ifneq
(,$(filter gnrc_ipv6_nib_6ln,$(USEMODULE)))
USEMODULE
+=
gnrc_ipv6_nib
endif
ifneq
(,$(filter gnrc_ipv6_nib_router,$(USEMODULE)))
USEMODULE
+=
gnrc_ipv6_nib
endif
ifneq
(,$(filter gnrc_ipv6_nib,$(USEMODULE)))
USEMODULE
+=
evtimer
USEMODULE
+=
gnrc_ndp2
USEMODULE
+=
ipv6_addr
USEMODULE
+=
random
endif
...
...
This diff is collapsed.
Click to expand it.
makefiles/pseudomodules.inc.mk
+
4
−
0
View file @
d30216dc
...
...
@@ -11,6 +11,10 @@ PSEUDOMODULES += emb6_router
PSEUDOMODULES
+=
gnrc_ipv6_default
PSEUDOMODULES
+=
gnrc_ipv6_router
PSEUDOMODULES
+=
gnrc_ipv6_router_default
PSEUDOMODULES
+=
gnrc_ipv6_nib_6lbr
PSEUDOMODULES
+=
gnrc_ipv6_nib_6ln
PSEUDOMODULES
+=
gnrc_ipv6_nib_6lr
PSEUDOMODULES
+=
gnrc_ipv6_nib_router
PSEUDOMODULES
+=
gnrc_netdev_default
PSEUDOMODULES
+=
gnrc_neterr
PSEUDOMODULES
+=
gnrc_netapi_callbacks
...
...
This diff is collapsed.
Click to expand it.
sys/include/net/gnrc/ipv6/nib/conf.h
+
41
−
0
View file @
d30216dc
...
...
@@ -24,6 +24,47 @@
extern
"C"
{
#endif
/* some pseudo-module based configuration, doc: see below */
#ifdef MODULE_GNRC_IPV6_NIB_6LBR
#ifndef GNRC_IPV6_NIB_CONF_6LBR
#define GNRC_IPV6_NIB_CONF_6LBR (1)
#endif
#endif
#ifdef MODULE_GNRC_IPV6_NIB_6LR
#ifndef GNRC_IPV6_NIB_CONF_6LR
#define GNRC_IPV6_NIB_CONF_6LR (1)
#endif
#ifndef GNRC_IPV6_NIB_CONF_SLAAC
#define GNRC_IPV6_NIB_CONF_SLAAC (0)
#endif
#endif
#ifdef MODULE_GNRC_IPV6_NIB_6LN
#ifndef GNRC_IPV6_NIB_CONF_6LN
#define GNRC_IPV6_NIB_CONF_6LN (1)
#endif
#ifndef GNRC_IPV6_NIB_CONF_SLAAC
#define GNRC_IPV6_NIB_CONF_SLAAC (0)
#endif
#ifndef GNRC_IPV6_NIB_CONF_QUEUE_PKT
#define GNRC_IPV6_NIB_CONF_QUEUE_PKT (0)
#endif
#if !GNRC_IPV6_NIB_CONF_6LR
# ifndef GNRC_IPV6_NIB_CONF_ARSM
# define GNRC_IPV6_NIB_CONF_ARSM (0)
# endif
# ifndef GNRC_IPV6_NIB_NUMOF
/* only needs to store default router */
# define GNRC_IPV6_NIB_NUMOF (1)
# endif
#endif
#endif
#ifdef MODULE_GNRC_IPV6_NIB_ROUTER
#define GNRC_IPV6_NIB_CONF_ROUTER (1)
#endif
/**
* @name Compile flags
* @brief Compile flags to (de-)activate certain features for NIB
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment