1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

216 Commits

Author SHA1 Message Date
d4f3747705 sys/net: fix typos 2019-11-23 22:39:38 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Francisco Molina
ab16222c8b sys/net/routing/nhdp: fix cpp.check unitialized variable 2019-11-21 11:58:07 +01:00
Martine S. Lenders
056bd35e6c nhdp: deprecate module 2019-08-28 06:22:14 +02:00
Benjamin Valentin
e8dc1119b8 sys: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
05b6af466c sys: add missig <string.h> includes 2018-09-20 23:47:40 +02:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
53a9dc36ed
nhdp: port to sock 2017-04-26 14:41:45 +02:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
smlng
18ec3105f2 cppcheck: fix warning in nhdp_address 2016-12-23 21:00:23 +01:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
DipSwitch
af96279c40 gnrc/nhdp: Remove _t from struct names 2016-04-11 21:46:54 +02:00
kYc0o
6e8d574534 sys/net/routing/nhdp: get rid of vtimer
sys/net/routing/nhdp/nhdp.c: fix identation

sys/net/routing/nhdp/nhdp.h: fix typo
2016-03-11 17:47:03 +01:00
Hauke Petersen
41979b64cd sys: adapted to renamed THREAD FLAGS 2015-12-07 22:09:47 +01:00
Cenk Gündoğan
7fb889fa1a nhdp: remove unused variable 2015-11-24 20:56:27 +01:00
Cenk Gündoğan
2aabc8ccea nhdp: use conn_udp_close 2015-11-24 20:56:27 +01:00
Cenk Gündoğan
c516e4e759 nhdp: fix call to conn_udp_recvfrom 2015-11-24 20:56:27 +01:00
Cenk Gündoğan
e53c4a00a8 nhdp: include fixes 2015-11-24 20:56:27 +01:00
Martine Lenders
9ce1c6df05 nhdp: use conn instead of socket_base 2015-09-21 21:37:13 +02:00
Oleg Hahm
e15bdd257a debug: replace __FILE__ by RIOT_RELATIVE_FILE 2015-09-20 01:51:47 +02:00
Oleg Hahm
fac95806a8 sys: replace DEBUGF with corresponding DEBUG calls 2015-09-20 01:51:47 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
cb63a4e221 Merge pull request #3489 from cgundogan/ng_rpl_prefix_info
ng_rpl: auto address configuration
2015-08-18 20:23:21 +02:00
Martine Lenders
70d40f17b0 Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
gnrc_rpl: fix dependencies
2015-08-18 20:22:30 +02:00
Cenk Gündoğan
94b8d69dd9 ng_rpl: auto address configuration 2015-08-18 19:00:01 +02:00
Martine Lenders
4283b1515d gnrc_rpl: fix dependencies
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.

Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
2015-08-18 18:59:02 +02:00
Oleg Hahm
e5d5c37362 Merge pull request #3654 from OlegHahm/rpl_scan_findings
RPL: clang analyzer findings
2015-08-18 18:53:36 +02:00
Oleg Hahm
687cc6e175 rpl: removed superfluous assignment 2015-08-18 17:53:29 +02:00
Oleg Hahm
2e1b90f107 rpl: added assertions for null pointer checks 2015-08-18 17:53:11 +02:00
Martine Lenders
89009ae2f1 icmpv6: put message definitions in their own files 2015-08-18 17:30:23 +02:00
Cenk Gündoğan
7f6966aacc ng_rpl: RPL for the gnrc network stack 2015-08-18 12:03:28 +02:00
Martine Lenders
203561e741 ipv6_addr: remove ng_ prefix 2015-08-11 13:27:07 +02:00
00a44c9147 sys: net: remove AODVv2
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Lotte Steenbrink
cc9af00789 aodvv2: tidy debug output, remove VDEBUG(), add LOG() 2015-07-19 10:11:16 -07:00
Lotte Steenbrink
51ac879fa2 add FIB to AODVv2 2015-07-14 12:32:17 -07:00
Joakim Gebart
cfe657b1ee sys/net/routing/etx_beaconing: Fix warnings and comment style 2015-07-14 08:11:15 +02:00
Joakim Gebart
8f2da1d3d0 sys/net/routing/aodvv2: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Lotte Steenbrink
6d1b1ad077 aodvv2: fix rreq route cost calculation
store targseqnum from rreq in the right substruct, calculate rreq route cost from targaddr metric.
2015-06-29 09:04:23 -07:00
Lotte Steenbrink
04719b326c Merge pull request #3266 from Lotterleben/aodvv2_fix_warn
aodvv2: fix return values of reader helper functions
2015-06-29 12:13:47 +02:00
Benoît Canet
5e7ea2d9e4 msg: Fix incorrect queues initializations
From core/include/msg.h:

/**
 * @brief Initialize the current thread's message queue.
 *
 * @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
 *                  not be NULL.
 * @param[in] num   Number of ``msg_t`` structures in array.
 *                  **MUST BE POWER OF TWO!**
 *
 * @return 0, if successful
 * @return -1, on error
 */
int msg_init_queue(msg_t *array, int num);

sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values

Closes #3269.

Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Lotte Steenbrink
de2296d524 aodvv2: fix return values of reader helper functions 2015-06-25 16:48:15 -07:00
Lotte Steenbrink
8f4dd8dc13 aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
Fabian Nack
5fbafbf8ad sys/nhdp: Add link metric calculation 2015-05-27 11:05:13 +02:00
Martine Lenders
e3bdc53c37 Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
2015-05-26 20:16:50 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Joakim Gebart
1d69ea3159 sys/net/routing/rpl: Remove redundant assignment of dodag_version to itself 2015-05-19 15:01:53 +02:00