forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gnrc_netreg/api/mbox-extension' (RIOT-OS#5526) into HEAD
- Loading branch information
Showing
29 changed files
with
341 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
pkg/ccn-lite/patches/0001-RIOT-adapter-port-to-new-netreg-struct.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 3f675f891794b3655c06b721c7f34c462233e7a5 Mon Sep 17 00:00:00 2001 | ||
From: Martine Lenders <mail@martine-lenders.eu> | ||
Date: Fri, 26 Aug 2016 11:48:26 +0200 | ||
Subject: [PATCH] RIOT adapter: port to new netreg struct | ||
|
||
--- | ||
src/ccn-lite-riot.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/ccn-lite-riot.c b/src/ccn-lite-riot.c | ||
index b5e7660..ba0a2cc 100644 | ||
--- a/src/ccn-lite-riot.c | ||
+++ b/src/ccn-lite-riot.c | ||
@@ -229,8 +229,8 @@ ccnl_open_netif(kernel_pid_t if_pid, gnrc_nettype_t netreg_type) | ||
/* configure the interface to use the specified nettype protocol */ | ||
gnrc_netapi_set(if_pid, NETOPT_PROTO, 0, &netreg_type, sizeof(gnrc_nettype_t)); | ||
/* register for this nettype */ | ||
- _ccnl_ne.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL; | ||
- _ccnl_ne.pid = _ccnl_event_loop_pid; | ||
+ gnrc_netreg_entry_init_pid(&_ccnl_ne, GNRC_NETREG_DEMUX_CTX_ALL, | ||
+ _ccnl_event_loop_pid); | ||
return gnrc_netreg_register(netreg_type, &_ccnl_ne); | ||
} | ||
|
||
-- | ||
2.7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.