Oleg Hahm
05f47b2a81
Merge pull request #2974 from sgso/fix_unspecified_src_addr_in_ng_ipv6
...
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
2015-05-13 19:02:44 +02:00
Martine Lenders
d1c2f7f72b
Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
...
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Sebastian Sontberg
c0ec7eb892
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
...
Later in the handling of IPv6 headers, the source address is only
automatically chosen and filled into the header if the unspecified
address is found in the src field, but it's never set to that value.
The default destination address is set to '::1'.
2015-05-13 00:51:25 +02:00
Martine Lenders
3e3f7bdf3c
ipv6_nc: simplify API usage for NDP
...
* Bonus: simplify DEBUG output.
2015-05-12 20:06:09 +02:00
Martine Lenders
87e5f3acaa
Merge pull request #2964 from authmillenon/icmpv6/enh/listed-payload
...
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-12 20:01:30 +02:00
Martine Lenders
dd1b4ec5a7
ng_ipv6: add 6in6 encapsulation support
2015-05-12 19:19:21 +02:00
Martine Lenders
11e5fb3c9e
Merge pull request #2728 from authmillenon/ipv6_netif/enh/auto-link-local
...
ipv6_netif: auto-add corresponding link-local addresses
2015-05-12 19:08:14 +02:00
Martine Lenders
ed6764f33b
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-11 01:27:12 +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
Oleg Hahm
23d3c636e5
Merge pull request #2922 from authmillenon/ng_ipv6/fix/debug-output
...
ng_ipv6: fix debug output
2015-05-09 19:57:35 +02:00
Oleg Hahm
ca0d510655
Merge pull request #2943 from OlegHahm/fix_multicast_interface
...
ng_ipv6: set interface for multicast
2015-05-09 18:40:35 +02:00
Oleg Hahm
332eb13184
ng_ipv6: set interface for multicast
...
If no interface is given for a multicast, but the node has only one, it
must be set.
2015-05-09 16:23:28 +02:00
Martine Lenders
2c1b516c8e
sixlowpan_frag: another bugfix for reassembly
2015-05-09 16:18:16 +02:00
Martine Lenders
bc41cfc93f
sixlowpan_frag: Fix some debug messages for nano-specs
2015-05-08 18:32:29 +02:00
Martine Lenders
0514e11805
sixlowpan_frag: fix reassembly buffer garbage collection
2015-05-08 18:32:12 +02:00
BytesGalore
a1be18a1d0
net/network_layer/fib: fixed print type for printing routes
2015-05-07 17:13:55 +02:00
Martine Lenders
ab21f5dfc1
ng_ipv6: fix debug output
2015-05-06 11:30:54 +02:00
Sebastian Sontberg
d0ea7c2a0c
ng_icmpv6_echo: fix call to undefined function
2015-05-04 14:50:18 +02:00
Oleg Hahm
d1bfa2f2ff
Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
...
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Martine Lenders
86133b8404
ng_icmpv6_echo: initial import
2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f
ng_icmpv6: Initial import
2015-05-01 08:29:01 +02:00
Hauke Petersen
195a8d88cd
Merge pull request #2892 from authmillenon/ng_ipv6/enh/use-netapi-rcv
...
ng_ipv6: use netapi_receive()
2015-04-30 11:00:52 +02:00
Martine Lenders
4741a01e36
Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
...
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
af1f7b4336
ng_ipv6: use netapi_receive()
2015-04-29 22:34:55 +02:00
Martine Lenders
a767f66d72
ipv6_nc: add iterators
2015-04-29 21:22:28 +02:00
Oleg Hahm
832c6a949c
Merge pull request #2874 from authmillenon/sixlowpan_frag/fix/rbuf-fixes
...
ng_sixlowpan: fixes
2015-04-29 15:48:49 +02:00
Martine Lenders
450abe6154
ng_sixlowpan: use ng_pktbuf_remove_snip()
2015-04-29 01:06:32 +02:00
Martine Lenders
4f5995a4cf
ng_sixlowpan_frag: add missing return
2015-04-29 01:06:17 +02:00
Martine Lenders
7c0d86e360
ng_sixlowpan_frag: fix reassembly buffer
2015-04-29 01:06:17 +02:00
Martine Lenders
32e27c3ff3
ipv6_hdr: add print function
2015-04-28 21:16:47 +02:00
BytesGalore
2a8aa7add5
net/network_layer/fib: added clearing flags for expired entries
2015-04-28 14:30:04 +02:00
Martine Lenders
8a5e0d7d82
Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
...
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 02:21:20 +02:00
Oleg Hahm
2d8021ac06
Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
...
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
Martine Lenders
e2f6fb6b0f
Merge pull request #2856 from authmillenon/ng_ipv6/enh/1-if-opt
...
ng_ipv6: optimize multi-interface support
2015-04-24 19:01:29 +02:00
Martine Lenders
1d744650cf
Merge pull request #2614 from authmillenon/ng_sixlowpan/feat/initial
...
ng_sixlowpan: initial import
2015-04-23 16:17:43 +02:00
Martine Lenders
5412e0e68b
ng_sixlowpan: initial import
2015-04-23 11:29:53 +02:00
Martine Lenders
07e2dbaf7e
ng_sixlowpan_netif: initial import
2015-04-23 11:29:51 +02:00
Martine Lenders
82a1f53ff0
ng_ipv6: optimize multi-interface support
2015-04-23 10:57:51 +02:00
Martine Lenders
3e9db4371f
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-23 02:26:48 +02:00
Martine Lenders
99c190d3ae
ng_ipv6: fix scope of netif header in multicast
2015-04-23 01:43:51 +02:00
Martine Lenders
a0c6db6591
ng_ipv6: initial import
2015-04-22 22:12:07 +02:00
Martine Lenders
ac25058f26
Merge pull request #2727 from watr-li/unaligned-access-cortex-m0
...
Fix unaligned access on Samr21/Cortex-M0
2015-04-21 12:18:03 +02:00
Martine Lenders
c660fdfdac
Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
...
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Oleg Hahm
09c07e918d
Merge pull request #2831 from OlegHahm/transceiver_broadcast
...
Use transceiver specific broadcast
2015-04-20 10:16:08 +02:00
Oleg Hahm
3dd3bbb461
transceiver: use transceiver specific broadcast
2015-04-19 20:35:11 +02:00
Martine Lenders
3a72e5346b
unittests: add tests for ng_sixlowpan_ctx
2015-04-18 15:42:42 +02:00
Martine Lenders
39ed4baa92
ng_sixlowpan: initial import of a context buffer
2015-04-18 15:42:42 +02:00
Martine Lenders
43d5fe1e8e
ipv6_addr: add missing mask to prefix initialization
2015-04-18 15:40:02 +02:00
Martine Lenders
1230fc4070
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-14 11:12:28 +02:00
BytesGalore
580ae0a63d
Merge pull request #2786 from Lotterleben/fib_typos
...
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
BytesGalore
073f117ad6
Merge pull request #2788 from Lotterleben/fib_parenteses_fix
...
FIB: remove extraneous parentheses
2015-04-10 16:39:29 +02:00
Lotte Steenbrink
0666827d25
FIB: remove extraneous parentheses
2015-04-10 04:33:46 -07:00
Lotte Steenbrink
d2e6e7ba17
FIB: fix some typos
2015-04-10 03:15:20 -07:00
Oleg Hahm
bd828f109e
Merge pull request #2350 from gebart/pr/sixlowpan-buffer-name
...
sixlowpan: rename global buffer->sixlowpan_buffer
2015-04-10 11:38:54 +02:00
Martine Lenders
c94094529d
Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
...
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
2dd24edcf8
ipv6_netif: auto-add corresponding link-local addresses
2015-04-10 01:29:33 +02:00
Martine Lenders
9c30851b45
ipv6_hdr: Initial import
2015-04-10 00:41:55 +02:00
Martine Lenders
b8fea1a2c7
Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
...
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5
ipv6_netif: fix prefix for address flags
...
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
9372d955b3
Merge pull request #2211 from BytesGalore/add_fib
...
sys/net/network_layer added a core implementation of a FIB
2015-04-01 11:40:21 +02:00
Oleg Hahm
26710c1085
Merge pull request #2499 from gebart/pr/lowpan-address-decoding-fixes
...
sixlowpan: Handle 16-bit addresses correctly (both decode and encode)
2015-04-01 11:36:56 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00
Martine Lenders
f1becc6870
Merge pull request #2534 from jfischer-phytec-iot/pr@udp-header-decompression
...
lowpan.c: add udp header decompression
2015-03-31 19:39:18 +02:00
Martine Lenders
6f7af8f0a2
ipv6_netif: move default MTU from ng_ipv6.h
2015-03-30 01:18:07 +02:00
Martine Lenders
c6eaeb4366
ipv6_netif: add current hop limit to interface
2015-03-30 01:18:06 +02:00
Lucas Jenss
5910cadb58
sys/net: Fix unaligned access on Samr21/Cortex-M0
...
*((uint16_t)*dest) results in a ldrh (load halfword) instruction
on an address that seems to not be halfword-aligned (?),
causing a hard-fault on the samr21-xpro board (cortex-m0
architecture). The issue seems to be very similar to
the one described in http://stackoverflow.com/a/21661366/124257
2015-03-29 04:58:44 +02:00
Martine Lenders
dce3a6056d
ipv6_netif: add prefix list to interface
2015-03-27 20:39:52 +01:00
Joakim Gebart
334aeca246
sixlowpan: Refactor multicast destination compression handling
...
Stateless only, still no implementation for context-aware multicast encoding.
2015-03-25 08:08:07 +01:00
Joakim Gebart
9769d8adaf
sixlowpan: Fix conditions for 16 bit encoding of unicast destination
2015-03-25 08:08:04 +01:00
Joakim Gebart
34457017cf
sixlowpan: Fix conditions for encoding to 16 bit source addresses
2015-03-25 08:08:01 +01:00
Joakim Gebart
0b479b28e8
sixlowpan: Update reference to RFC 6282
2015-03-25 08:07:59 +01:00
Joakim Gebart
39c7566e11
sixlowpan: Decode 16-bit addresses correctly
...
10: 16 bits. The first 112 bits of the address are elided.
The value of the first 64 bits is the link-local prefix padded with zeros.
The following 64 bits are 0000:00ff:fe00:XXXX, where XXXX are the 16 bits carried in-line.
See https://tools.ietf.org/html/rfc6282
2015-03-25 08:07:55 +01:00
Joakim Gebart
de7d6c7785
sixlowpan: rename global buffer->sixlowpan_buffer
2015-03-25 08:00:45 +01:00
Martine Lenders
7027519f28
ng_ipv6: provide support for ng_netif
2015-03-19 15:13:17 +01:00
Joakim Gebart
b67f8ca06c
Merge pull request #2504 from gebart/pr/sixlowpan-dest-addr-bcast
...
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-18 10:07:42 +01:00
Martine Lenders
c1708682e8
ng_ipv6_nc: Initial import
2015-03-13 20:42:47 +01:00
Martine Lenders
0cca4867ea
ng_ipv6_addr: add string to address conversion function
2015-03-12 21:06:43 +01:00
Martine Lenders
9f2e2121c1
ng_ipv6_addr: add address to string conversion function
2015-03-12 21:06:41 +01:00
Johann Fischer
939f07aab8
sys/net/network_layer/sixlowpan/lowpan.c: add udp header decompression
2015-03-04 18:18:27 +01:00
Joakim Gebart
70cf054b5e
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-04 08:47:10 +01:00
Cenk Gündoğan
d6242360da
net_if: proper u/l-bit inversion for short addresses
2015-03-03 20:03:54 +01:00
Joakim Gebart
2aa031e7c7
sixlowpan: Set U/L bit in short address to local.
2015-03-03 19:56:11 +01:00
Johann Fischer
90ab40657a
sys/net/network_layer/sixlowpan/lowpan.c: reduce scope of debug variable
2015-03-02 18:42:38 +01:00
Joakim Gebart
726bdf9d7b
Merge pull request #2512 from cgundogan/ip_d_addr_unused
...
ip: use d_addr instead of s_addr when setting the destaddr
2015-03-02 12:23:11 +01:00
Cenk Gündoğan
c3fc24700c
rpl: use d_addr instead of s_addr when setting the destaddr
2015-03-02 10:33:45 +01:00
Cenk Gündoğan
3832fc57f5
Merge pull request #2496 from gebart/pr/6lowpan-print-addr
...
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-03-02 08:21:42 +01:00
Joakim Gebart
578eb38c38
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-02-26 19:22:07 +01:00
Joakim Gebart
db59de6c2e
sixlowpan: Refactor DAC/DAM decoding to match SAC/SAM implementation.
2015-02-26 13:53:07 +01:00
Joakim Gebart
9933a431e3
sixlowpan: Refactor SAC/SAM decoding.
2015-02-26 12:19:30 +01:00
Joakim Gebart
ff6f8ff82b
sixlowpan: Invert local/universal bit in EUI-64 when forming IPv6 Interface Identifiers.
2015-02-26 09:59:28 +01:00
Martine Lenders
ff36abb2cf
ng_ipv6_addr: initial import
...
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
Johann Fischer
ce423816af
sys/net/network_layer/sixlowpan/mac.c: add missing p->processing--;
2015-02-11 11:57:46 +01:00
BytesGalore
c7eea4d0d5
sys/net/sixlowpan: change to release lowpan.c::lowpan_context_mutex
when no context is recognized
2015-02-10 12:27:56 +01:00
Cenk Gündoğan
4347039e88
ip: make addr_str static
...
When setting the `ENABLE_DEBUG` flag to *1* in ip.c,
the **rpl_udp** example won't compile, because the variable `addr_str`
is also defined in **rpl_udp.h** as extern.
Prefixing `addr_str` with `static` in ip.c solves this problem.
2015-02-08 22:07:19 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Joakim Gebart
f71f8322d9
Merge pull request #2348 from gebart/pr/fno-common-fixes1
...
Removing (some) common globals, working towards #2346
2015-01-26 09:11:10 +01:00
Joakim Gebart
3f4478e2bb
sixlowpan: Reduce scope on some globals in ip.c
2015-01-23 19:46:26 +01:00
Joakim Gebart
cd248f89f0
sixlowpan: reduce scope of globals in mac.c
2015-01-23 14:04:59 +01:00