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

203 Commits

Author SHA1 Message Date
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
Martine Lenders
abc0280543 ng_rpl: add source routing header parsing for ng_net 2015-05-17 21:51:52 +02:00
Oleg Hahm
4d85caee0f Merge pull request #2953 from OlegHahm/ng_sizeof
net: use sizeof(stack) for thread_create
2015-05-10 12:27:05 +02:00
Oleg Hahm
c3a60fcea1 net: use sizeof(stack) for thread_create 2015-05-09 20:48:53 +02:00
Joakim Gebart
45c3498091 sys/net/routing/Makefile: Unix line endings 2015-05-09 09:18:31 +02:00
Lotte Steenbrink
02efbadc48 aodvv2: fix check for redundant RREQ 2015-04-16 09:34:42 -07:00
Cenk Gündoğan
b557000c20 rpl: remove global variable indicating the root node 2015-04-28 18:13:40 +02:00
BytesGalore
2ffe2e6f1f Merge pull request #2633 from cgundogan/rpl_remove_rpl_get_my_dodag_from_parent_delete
rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents()
2015-04-28 16:24:21 +02:00
Oleg Hahm
126eba73a9 Merge pull request #2606 from cgundogan/rpl_remove_multiple_instance_check
rpl: remove unnecessary check for multiple instances
2015-04-22 23:14:27 +02:00
Oleg Hahm
9edf0b76db doc: aodv specific stuff shouldn't show up in core 2015-04-21 18:53:36 +02:00
Oleg Hahm
8926fa2269 rpl: added debug output for DAO default case 2015-04-19 20:56:05 +02:00
Oleg Hahm
22689437fb Merge pull request #2764 from Lotterleben/aodvv2_improve_offers_improvement
AODVv2: fix check if a route offers an improvement
2015-04-16 09:50:40 +02:00
Lotte Steenbrink
aca795ddb2 Merge pull request #2810 from Lotterleben/aodvv2_na_mcast_init
AODVv2: rm unnecessary initialization of na_mcast
2015-04-15 16:06:06 +02:00
Lotte Steenbrink
82caf87128 Merge pull request #2796 from BytesGalore/aodv_return_on_socket_fail
routing/aodv: added return on failed socket creation for receiver thread
2015-04-14 11:43:36 +02:00