Oleg Hahm
717a4c8152
Merge pull request #3143 from authmillenon/ng_sixlowpan_ctx/api/comp-flag
...
ng_sixlowpan_ctx: add compression flag support
2015-07-17 08:23:05 +02:00
Martine Lenders
a808834fc1
ng_sixlowpan_iphc: adapt for compression flag in ng_sixlowpan_ctx
2015-07-17 07:59:16 +02:00
Martine Lenders
dd6ea99fd4
ng_sixlowpan_ctx: add compression flag support
...
The compression flag allows a context to be invalidated for compression,
but still be valid for decompression. This is needed for context
dissimination in a LoWPAN.
2015-07-17 07:59:15 +02:00
Lotte Steenbrink
3b020a4dcc
fib: add newlines to DEBUG output.
2015-07-16 10:36:12 -07:00
Hauke Petersen
e530a79516
Merge pull request #3431 from BytesGalore/fib_fix_signal_rp
...
fib: fixed wrong passed destination address size and return value
2015-07-16 18:51:18 +02:00
BytesGalore
0d5080fa49
fib: fixed wrong passed destination address size
2015-07-16 15:50:35 +02:00
BytesGalore
d97694f106
fib: repaired prefix/default gateway determination and added two according unittests
2015-07-16 13:46:36 +02:00
Martine Lenders
ae7701e0ef
Merge pull request #3424 from authmillenon/ng_sixlowpan_iphc/fix/null_iphc2
...
ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch
2015-07-15 23:21:46 +02:00
Martine Lenders
36655a82d7
ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch
2015-07-15 22:49:25 +02:00
Joakim Gebart
487169f3cd
sys/net/network_layer/ng_sixlowpan/iphc: Encode 48 bit multicast addresses properly
...
Fixes a copy+paste mistake.
2015-07-15 22:00:09 +02:00
Martine Lenders
f3dffd22e3
Merge pull request #3414 from authmillenon/ng_sixlowpan/fix/issue-3411
...
ng_sixlowpan: fix IPHC dispatch check
2015-07-15 16:22:38 +02:00
Martine Lenders
e324178a12
ng_sixlowpan: fix IPHC dispatch check
2015-07-15 13:05:38 +02:00
Joakim Gebart
d74a982314
Merge pull request #3401 from gebart/pr/sixlowpan-ip-get-best-src-dont-filter-ula
...
sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
2015-07-15 08:19:42 +02:00
Lotte Steenbrink
51ac879fa2
add FIB to AODVv2
2015-07-14 12:32:17 -07:00
Joakim Gebart
9a0a5e8816
sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
...
It makes no sense preferring ::1 over any unique local address when communicating with other nodes.
2015-07-14 19:31:21 +02:00
Martine Lenders
6f85433fa8
ng_ndp: fix _get_l2src
2015-07-14 16:30:31 +02:00
Martine Lenders
fba8cd9f49
Merge pull request #3386 from authmillenon/ng_ndp/enh/debug-output
...
ng_ndp: enhance debug output
2015-07-14 15:55:09 +02:00
Martine Lenders
c14587f829
Merge pull request #3183 from authmillenon/ng_ipv6/enh/loopback
...
ng_ipv6: add loopback support
2015-07-14 15:11:02 +02:00
Martine Lenders
ac0a0a95a2
ng_ndp: enhance debug output
2015-07-14 15:06:40 +02:00
Martine Lenders
c7d3992eea
ng_ipv6: add loopback support
2015-07-14 13:33:26 +02:00
Peter Kietzmann
f6f112ab18
Merge pull request #3388 from authmillenon/ng_ipv6_netif/enh/use-long
...
ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
2015-07-14 09:30:45 +02:00
Joakim Gebart
2706816b80
sys/net/ccn_lite/ccn-lite-relay: Use intermediate uint16_t variable to avoid strict-aliasing violation
2015-07-14 08:11:19 +02:00
Joakim Gebart
cfe657b1ee
sys/net/routing/etx_beaconing: Fix warnings and comment style
2015-07-14 08:11:15 +02:00
Joakim Gebart
4562f6b824
sys/net/sixlowpan: Add ul suffix to constants to fix warnings on msp430
2015-07-14 08:11:15 +02:00
Martine Lenders
618df44837
ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
...
[RFC 6775](https://tools.ietf.org/html/rfc6775#section-1.3 ) suggests
strongly to use the EUI-64 as basis for the IPv6 addresses, since
otherwise duplicate address detection and some measures to give new
addresses (in case of duplicate) e.g. DHCPv6 needs to be in place.
2015-07-14 02:01:46 +02:00
Martine Lenders
789744c89d
Merge pull request #3375 from authmillenon/ng_pktbuf/fix/equal-size
...
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 21:44:54 +02:00
Martine Lenders
16e10b46cf
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 20:18:56 +02:00
Martine Lenders
2f71cadd99
ng_ndp: only check NS retransmission in correct state
2015-07-13 18:41:45 +02:00
Martine Lenders
d1b34aec35
ng_pktbuf: fix possible packet corruption in case of internal error
...
Fixes #3365
2015-07-11 12:21:40 +02:00
Martine Lenders
a04becb4f8
ng_pktbuf: fix debug output for _pktbuf_add_unsafe
2015-07-09 12:31:58 +02:00
Martine Lenders
1e262e3e73
Merge pull request #3336 from kaspar030/fix_ng_ipv6_netif_init_by_dev_mutex_unlock
...
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 11:47:32 +02:00
Peter Kietzmann
c3814a7127
Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
...
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
3efd2e9fae
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 09:24:08 +02:00
Martine Lenders
3b133811d6
ng_pktbuf: fix alignment overwrite issue
...
Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.
2015-07-07 17:02:23 +02:00
Joakim Gebart
64b948f0e9
sys/net/network_layer/ng_ndp: Add missing inttypes.h include
2015-07-07 09:48:11 +02:00
Joakim Gebart
b1dcd89390
sys/net/network_layer/ng_ipv6/nc: Add missing inttypes.h include
2015-07-07 09:47:53 +02:00
Joakim Gebart
767d3eb4df
sys/net/crosslayer/ng_netif/hdr/ng_netif_hdr_print.c: Add missing inttypes.h include
2015-07-07 09:47:26 +02:00
Joakim Gebart
5c5b644602
sys/net/transport_layer/ng_udp: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
c2aa2aa91f
sys/net/link_layer/ng_nomac: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
b35c2782da
sys/net/link_layer/net_if: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
6577d21049
sys/net/ccn_lite: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
aaeaa968e6
sys/net/application_layer/ng_zep: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
8f2da1d3d0
sys/net/routing/aodvv2: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
de3bd08798
sys/net/network_layer/fig: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
299e0eae03
sys/net/network_layer/ng_icmpv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
84114f3cc5
sys/net/network_layer/ng_ipv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
42cfa32077
sys/net/network_layer/ng_sixlowpan: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Martine Lenders
c5318336ae
net: intial import of the ZEP protocol
2015-07-02 15:47:19 +02:00
Martine Lenders
75ff56a21f
Merge pull request #3247 from authmillenon/ng_nettest/fix/bugfixes
...
ng_nettest: some fixes
2015-07-02 14:29:28 +02:00
Martine Lenders
e6811e8c28
Merge pull request #3295 from authmillenon/ng_udp/doc/fix
...
ng_udp: fix documentation
2015-07-02 13:41:01 +02:00
Martine Lenders
74eac9b144
ng_nettest: change function prototypes to allow for exp_pkts == 0
2015-07-02 13:35:00 +02:00
Martine Lenders
871a6f9cde
ng_nettest: some fixes
2015-07-02 13:35:00 +02:00
Martine Lenders
297f2cadcc
Merge pull request #3286 from authmillenon/ng_nomac/enh/use-dispatch-func
...
ng_nomac: use dispatch function
2015-07-02 13:22:33 +02:00
Martine Lenders
69992ee7eb
Merge pull request #3293 from authmillenon/ng_inet_csum/fix/wrap-around
...
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:55:27 +02:00
Martine Lenders
380c53c3e1
ng_udp: fix NULL pointer check in ng_udp_calc_csum
2015-07-02 12:20:55 +02:00
Martine Lenders
90d3af596e
ng_nomac: piggy-back some indentation fixes
2015-07-02 12:08:43 +02:00
Martine Lenders
dae00a81fb
ng_nomac: use dispatch function
2015-07-02 12:08:42 +02:00
Martine Lenders
ad6c02b349
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:06:31 +02:00
Martine Lenders
0465b83b7c
ng_ndp: cache determined next-hop in FIB
2015-07-01 22:34:12 +02:00
Martine Lenders
6687bbaea6
ng_inet_csum: add debug output
2015-07-01 18:25:40 +02:00
Martine Lenders
773ecc3615
ng_ipv6: remove redefinition of ifnum
2015-07-01 13:30:09 +02:00
Peter Kietzmann
fb6440c397
Merge pull request #2893 from authmillenon/ng_net/enh/centralize-dispatch
...
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 13:19:13 +02:00
Martine Lenders
56b4af60fd
Merge pull request #3245 from authmillenon/ng_ipv6/fix/multicast-multi-iface
...
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 13:05:14 +02:00
Martine Lenders
3238ccd47e
Merge pull request #3159 from authmillenon/ng_net/feat/iid
...
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
Martine Lenders
4065e5ae05
ng_udp: use new netapi function
2015-07-01 12:38:59 +02:00
Martine Lenders
018dbb04b8
ng_sixlowpan: use new netapi functions
2015-07-01 12:38:59 +02:00
Martine Lenders
59f62e5366
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 12:38:59 +02:00
Martine Lenders
ba75602f14
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 12:36:45 +02:00
Martine Lenders
cda934d2e1
ng_ipv6/netif: fix dereference interface correctly
2015-06-30 22:43:15 +02:00
Cenk Gündoğan
3162ca5408
Merge pull request #3272 from authmillenon/ng_ndp/fix/fib_get_next_hop
...
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-30 18:13:17 +02:00
Oleg Hahm
fedb0e03be
Merge pull request #3226 from authmillenon/ng_ndp/enh/restructure-functions
...
ng_ndp: code restructuring
2015-06-30 17:41:45 +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
Martine Lenders
1b4a05e5a8
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-29 14:46:52 +02: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
BytesGalore
db18e5760a
fib: added check for passing NULL pointers to fib_get_next_hop()
2015-06-24 09:05:24 +02:00
Martine Lenders
0103fa2e91
Merge pull request #3234 from authmillenon/ng_pktqueue/api/take-out-prio
...
ng_pktqueue: remove priority queue dependency
2015-06-23 23:47:52 +02:00
Martine Lenders
6b6c0c3322
Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn
...
net/ng_sixlowpan_frag: added missing return
2015-06-23 17:58:40 +02:00
Oleg Hahm
b85f076027
Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
...
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Lotte Steenbrink
8f4dd8dc13
aodvv2: fix one-off metric bug
2015-06-23 07:13:16 -07:00
Martine Lenders
4a34635d14
ng_ndp: stop for loop over packet nodes earlier
2015-06-23 15:25:13 +02:00
Martine Lenders
f28c5041eb
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 15:22:55 +02:00
Hauke Petersen
b2efe73f87
Merge pull request #3243 from BytesGalore/ndp_comment_on_fall_through
...
ndp: added a word why we fall through into `NG_IPV6_NC_STATE_DELAY`
2015-06-23 13:54:28 +02:00
BytesGalore
9082ffb70d
Merge pull request #3237 from haukepetersen/ng_fix_frag_sendnth_ptrcheck
...
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 13:48:01 +02:00
BytesGalore
e08d7a4434
ndp: added a word why we fall through into NG_IPV6_NC_STATE_DELAY
2015-06-23 12:51:12 +02:00
haukepetersen
6a44f56939
net/ng_sixlowpan_frag: added missing return
2015-06-23 02:56:21 +02:00
haukepetersen
a38d881424
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 02:07:33 +02:00
haukepetersen
80205b6749
net/ng_sixlowpan: fix check of pktbuf return val
2015-06-23 01:55:01 +02:00
Martine Lenders
0ca2cb1c93
ng_ndp: use new pktqueue
2015-06-22 18:19:55 +02:00
Martine Lenders
72b17d9620
ng_ipv6_nc: use new pktqueue
2015-06-22 18:19:55 +02:00
Hauke Petersen
a4f3bf49d3
net/ng_udp: mark received payload as NETTYPE_UNDEF
2015-06-22 16:37:03 +02:00
Martine Lenders
1f8e1cbbf3
Merge pull request #3218 from haukepetersen/ng_fix_sixlowpan_static
...
net/ng_sixlowpan: declared private methods static
2015-06-22 15:57:48 +02:00
Cenk Gündoğan
dd7f6c4218
ng_ndp: remove vtimer before setting it again
2015-06-20 12:09:45 +02:00
Martine Lenders
245c51f821
ng_sixlowpan: piggy-back cppcheck suppression
2015-06-19 17:17:29 +02:00
Martine Lenders
74430228cb
ng_sixlowpan: add missing return
2015-06-19 17:13:10 +02:00
Martine Lenders
1e4f8b4837
ng_ndp: code restructuring
...
Some code restructuring to be in line with other code of similar format.
2015-06-19 15:42:43 +02:00
Martine Lenders
b3acefd340
ng_sixlowpan: write protect pkt
2015-06-19 14:52:51 +02:00
6b2774640e
sys: net: ng_pktdump: add missing errno.h
...
file misses "ENOTSUP" otherwise
2015-06-18 13:28:39 +02:00
Hauke Petersen
dc82b801ac
net/ng_sixlowpan: declared private methods static
2015-06-17 17:25:08 +02:00