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

1912 Commits

Author SHA1 Message Date
Cenk Gündoğan
39255ee8f8 gnrc_rpl: make DODAG_CONF optional when joining DODAG 2016-03-16 14:31:49 +01:00
Cenk Gündoğan
46e983afc7 Merge pull request #5081 from cgundogan/pr/gnrc_rpl/rename_req_opts_to_dio_opts
gnrc_rpl: shell: rename req_opts to dio_opts
2016-03-16 14:20:46 +01:00
Cenk Gündoğan
b15c1a2bd1 gnrc_rpl: rename req_opts to dio_opts 2016-03-16 14:16:15 +01:00
Cenk Gündoğan
6f6ec3c8a5 gnrc_ipv6_nc: refactor nc_remove function 2016-03-16 13:51:21 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Martine Lenders
312047fa84 Merge pull request #5029 from gebart/pr/6lo-decoded-hdr-snip-ordering
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-16 11:53:53 +01:00
Joakim Nohlgård
ad40c208c1 Merge pull request #5070 from cgundogan/pr/gnrc_ipv6_nc/remove_timers
gnrc_ipv6_nc: remove nc_entry timers
2016-03-16 11:28:52 +01:00
Martine Lenders
cb4df81bd3 Merge pull request #5087 from gebart/pr/br-preferred-lifetime
gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario.
2016-03-16 11:16:35 +01:00
Joakim Nohlgård
f2883792e0 gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario. 2016-03-16 10:59:19 +01:00
Martine Lenders
1caf0bcc8a Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6 gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4 2016-03-15 17:11:22 +01:00
Hauke Petersen
e855d63d84 net/slip: adapted to uart cb type change 2016-03-15 11:59:20 +01:00
Cenk Gündoğan
f91e4bde9d gnrc_ipv6_nc: remove nc_entry timers 2016-03-14 23:45:17 +01:00
Martine Lenders
1659b9cc07 Merge pull request #5050 from gebart/pr/ipv6-rm-netif
gnrc_ipv6: Strip netif header and nothing else
2016-03-14 13:14:43 +01:00
Joakim Nohlgård
d770d6ab31 gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header 2016-03-12 11:36:24 +01:00
Joakim Nohlgård
61e2626779 gnrc_ipv6: Strip netif header and nothing else 2016-03-12 11:13:53 +01:00
Martine Lenders
178c3169d7 gnrc_sixlowpan_frag: use IPv6 type for reassembled packet 2016-03-12 10:45:03 +01:00
Martine Lenders
ae8e0ce787 Merge pull request #5039 from kYc0o/nhdp_without_vtimer
sys/net/routing/nhdp: get rid of vtimer
2016-03-11 22:50:36 +01:00
Ludwig Knüpfer
e58786385e Merge pull request #5022 from cgundogan/pr/rpl/do_not_use_PRIu8
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-11 19:08:02 +01: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
Cenk Gündoğan
ba7d6230c0 Merge pull request #4935 from authmillenon/gnrc_sixlowpan_iphc_nhc/fix/frag
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-11 16:41:27 +01:00
Cenk Gündoğan
f5df674a4f gnrc_pktdump: make pid global 2016-03-11 14:22:20 +01:00
Cenk Gündoğan
57210f6e17 gnrc_rpl: use global ipv6_addr_unspecified 2016-03-11 01:01:52 +01:00
Cenk Gündoğan
1226941be6 gnrc_rpl: do not use PRIu8/PRIi8 2016-03-10 22:51:12 +01:00
Martine Lenders
71b6221b57 Merge pull request #4991 from OlegHahm/gnrc_netdev_cleanup
gnrc_netdev: cleanup
2016-03-09 19:30:41 +01:00
Cenk Gündoğan
2991addea8 fib: add flush function 2016-03-09 17:30:56 +01:00
Joakim Nohlgård
ea8b0325eb gnrc: Set address valid lifetime to UINT32_MAX for border router scenario 2016-03-09 14:26:17 +01:00
Michael Andersen
60f6aeaf70 ndp: change rtr adv src to link local 2016-03-08 21:33:35 -08:00
Oleg Hahm
7552867858 make: removed non-existing gnrc_netdev_eth 2016-03-08 16:33:57 +01:00
Martine Lenders
d8c3301492 gnrc_netdev_eth: handle error on iovec initialization. 2016-03-07 21:36:35 +01:00
Martine Lenders
32e0c7ae66 Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
399b8026d3 ieee802154: provide general header build and read functions 2016-03-07 16:40:30 +01:00
Martine Lenders
cba05cc028 Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Yonezawa-T2
b1dd2818fe udp: discard UDP packets with zero checksum.
RFC 2460 Section 8.1

> IPv6 receivers must discard UDP packets containing a zero checksum,
> and should log the error.
2016-03-07 15:46:29 +09:00
Michael Andersen
1082a93a42 ndp: fix neighbor advertisement byte ordering 2016-03-05 13:39:50 -08:00
Martine Lenders
ae52bf9a12 gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets 2016-03-04 16:40:45 +01:00
Martine Lenders
4504e40fe0 Merge pull request #4771 from Yonezawa-T2/rbuf_gc_improvement
rbuf: does not remove oldest entry if we have entry for current fragment
2016-03-04 05:40:00 +01:00
Yonezawa-T2
31fa3404ca rbuf: does not remove oldest entry if we have entry for current fragment
If all rbuf slots are in use, `_rbuf_gc` removes the oldest entry even if the
entry for the current fragment exists. This effectively decreases usable slots
by one. This patch makes `_rbuf_gc` removes the oldest entry only if there is
no entry for the current fragment.
2016-03-03 11:19:48 +09:00
Cenk Gündoğan
10cb4d66bf Merge pull request #4870 from authmillenon/ipv6_addr/enh/opt
ipv6_addr: optimize for size
2016-03-02 22:04:32 +01:00
Martine Lenders
ac07862363 Merge pull request #4796 from gebart/pr/udp-nhc-typo
6lo: Fix typo in UDP NHC checksum elision bit define
2016-03-01 21:54:32 +01:00
Martine Lenders
0e32745b8a gnrc: replace static initializers with constants where sensible 2016-03-01 18:29:15 +01:00
Martine Lenders
2082296d5b ipv6_addr: optimize for size 2016-03-01 18:29:15 +01:00
Martine Lenders
327f7c442c Merge pull request #4816 from kaspar030/rename_genrand
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Joakim Nohlgård
647c87c9a5 6lo: Fix typo in UDP NHC checksum elision bit define 2016-03-01 12:35:14 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
ded39b461e sys: random: rename genrand_* to random_* 2016-02-29 21:33:17 +01:00
Yonezawa-T2
984e02a7ff rbuf: made RBUF_INT_SIZE configurable 2016-02-29 13:02:32 +09:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Cenk Gündoğan
0ac4ee705c ipv6: rpl: add source routing header for RPL 2016-02-27 20:39:12 +01:00
Martine Lenders
8db42427cb native/drivers/sys: adapt ethernet netdev2 for info struct 2016-02-22 12:37:26 +01:00
Yonezawa-T2
e92c355aba udp: fixed a corner case for checksum computation.
Fixes #4842.

RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1)
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Cenk Gündoğan
847c4868a3 Merge pull request #4851 from cgundogan/pr/icmpv6/debug_fix
gnrc_icmpv6: fix debug outputs
2016-02-19 08:13:58 +01:00
Cenk Gündoğan
ee4553e176 gnrc_icmpv6: fix debug outputs 2016-02-19 07:51:10 +01:00
Oleg Hahm
fc398d857d ndp: fix NCE creation on RA reception
RFC4861 says: "If a Neighbor Cache entry is created for the router
[while processing route advertisements], its reachability state MUST be
set to STALE as specified in Section 7.3.3."
2016-02-18 19:53:39 +01:00
Oleg Hahm
0a65d8c558 Merge pull request #4770 from Yonezawa-T2/rbuf_usec
rbuf: change arrival time unit from seconds to microseconds
2016-02-16 11:38:06 +01:00
Yonezawa-T2
d5a02b6de1 rbuf: change arrival time unit from seconds to microseconds 2016-02-16 17:22:25 +09:00
Martine Lenders
a66ce9c3eb Merge pull request #4784 from authmillenon/gnrc_pkt/api/search-type-function
gnrc_pkt: provide type search function
2016-02-15 13:33:45 +01:00
Joakim Nohlgård
d414f30b22 Merge pull request #4791 from gebart/pr/small-cleanups
misc: small cleanups
2016-02-12 09:14:06 +01:00
Cenk Gündoğan
8da37a4aae Merge pull request #4793 from cgundogan/pr/gnrc_ipv6/debug
gnrc_ipv6: make the DEBUG output useful
2016-02-12 08:55:04 +01:00
Oleg Hahm
4824a45c8a Merge pull request #4732 from cgundogan/pr/rpl/pio_control
rpl: make PIOs in DIOs configurable and send them out always or never
2016-02-11 23:53:51 +01:00
Cenk Gündoğan
27a4770601 gnrc_ipv6: make the DEBUG output useful 2016-02-11 16:46:16 +01:00
Joakim Nohlgård
0e316c3159 sys/net/gnrc/zep: Remove unused (static) getter function 2016-02-11 15:13:41 +01:00
Martine Lenders
379703ae3a gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR 2016-02-11 01:05:02 +01:00
Martine Lenders
e8a1fab07d gnrc_pkt: provide type search function 2016-02-11 01:05:02 +01:00
Cenk Gündoğan
03f34927cd pktbuf: do not inline gnrc_pktbuf_remove_snip 2016-02-10 16:38:40 +01:00
Yonezawa-T2
f638d68ebb rbuf: drop overlapped fragment only if offset or size differs from previous one.
https://tools.ietf.org/html/rfc4944#section-5.3 says:

> If a link fragment that overlaps another fragment is received, as
> identified above, and differs in either the size or datagram_offset
> of the overlapped fragment, the fragment(s) already accumulated in
> the reassembly buffer SHALL be discarded.  A fresh reassembly may be
> commenced with the most recently received link fragment.
2016-02-09 11:15:22 +09:00
Hauke Petersen
f3ac84d43a drivers: s/CPUID_ID_LEN/CPUID_LEN/ 2016-02-08 11:10:59 +01:00
0fc19f723d sys: net: gnrc_netdev2_eth: fix ethernet multicast MAC address creation 2016-02-05 23:20:33 +01:00
44e985bf8c sys: net: ipv6: add print_ipv6_addr() 2016-02-05 14:06:36 +01:00
b9c97d86c2 sys: net: add ipv6 split prefix/interface from address functions 2016-02-05 13:24:45 +01:00
Cenk Gündoğan
73fac82b58 rpl: shell: don't compile PIO code dependent on CFLAGS 2016-02-03 08:59:51 +01:00
Cenk Gündoğan
2242970cad rpl: don't change status of PIO transmissions 2016-02-03 07:29:36 +01:00
Cenk Gündoğan
50aff7fca0 rpl: unify requested option flags into one byte 2016-02-03 07:13:24 +01:00
Oleg Hahm
ae086aeed1 IPv6: cosmetic improvement
New condition -> new line
2016-01-29 18:56:03 +01:00
Oleg Hahm
250c288929 6lowpan nd: prefer NCEs over FIB entries
If an address can be found in the neighbor cache, it should be used - whatever the FIB may return.
2016-01-29 18:56:03 +01:00
BytesGalore
10ea1226bc gnrc/ipv6: add blacklisting of IPv6 addresses 2016-01-28 21:50:43 +01:00
Oleg Hahm
ae8e0957cb Merge pull request #4705 from cgundogan/pr/ndp/pio_fix
ndp/internal: fix pio flags for rtr adv
2016-01-28 16:27:44 +01:00
Cenk Gündoğan
11e7160b90 Merge pull request #4707 from BytesGalore/change_whitelist_use_memcpy
gnrc_ipv6/whitelist: switch assignment operation to `memcpy()`
2016-01-28 14:23:21 +01:00
Cenk Gündoğan
d58e1385b2 ndp/internal: fix pio flags for rtr adv 2016-01-28 14:03:19 +01:00
BytesGalore
2d1671473b gnrc_ipv6/whitelist: switch assignment operation to memcpy() 2016-01-28 06:23:31 +01:00
Oleg Hahm
dae4253618 Merge pull request #4519 from OlegHahm/fib_remove_superfluous_things
FIB: remove superfluous things
2016-01-27 16:12:08 +01:00
Oleg Hahm
a1ece30c55 fib: remove superfluous parameter 2016-01-26 23:52:18 +01:00
Martine Lenders
5ddcf09627 gnrc_ipv6_netif: don't advertise routers without GUAs 2016-01-26 23:25:07 +01:00
Martine Lenders
131cae626c Merge pull request #3362 from authmillenon/ng_neterr/feat/initial
[RFC] gnrc: initial import of an asynchronous error reporting API
2016-01-26 21:35:30 +01:00
Cenk Gündoğan
617796241e Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Peter Kietzmann
4d7c068e0d Merge pull request #4267 from authmillenon/gnrc_pktbuf_static/enh/max_byte_counter
gnrc_pktbuf_static: add stat variable for maximum packet buffer byte
2016-01-26 18:45:49 +01:00
Oleg Hahm
3d494c8bf9 Merge pull request #3184 from authmillenon/ng_icmpv6_error/feat/init
gnrc_icmpv6_error: initial import
2016-01-26 18:23:54 +01:00
Martine Lenders
a23b9c3310 Merge pull request #4652 from Lotterleben/conn_documentation
conn: add more detailed documentation (WIP)
2016-01-26 18:09:36 +01:00
Lotte Steenbrink
be72f2c1cf conn: add more detailed documentation 2016-01-26 16:54:29 -08:00
test
8d1f91f128 ndp: check for A flag in received PIO 2016-01-26 14:34:48 +01:00
Martine Lenders
da5abe1bcd gnrc_sixlowpan_nd: use gnrc_ipv6_nc_get_l2_addr() 2016-01-26 10:19:16 +01:00
Martine Lenders
0b787b9e02 gnrc_ndp_node: use gnrc_ipv6_nc_get_l2_addr() 2016-01-26 10:19:16 +01:00
Martine Lenders
0e0eef1273 gnrc_ipv6: use gnrc_ipv6_nc_get_l2_addr() 2016-01-26 10:19:15 +01:00
Martine Lenders
7b21f95df5 gnrc_ipv6_nc: introduce L2 address lookup function 2016-01-26 10:19:15 +01:00
Martine Lenders
da23ffe096 gnrc: initial import of an asynchroneous error reporting API 2016-01-23 16:42:19 +01:00
Martine Lenders
4d877c7bf7 gnrc_pktbuf_static: add stat variable for maximum packet buffer byte 2016-01-23 16:41:01 +01:00
Martine Lenders
70c3d29036 gnrc_icmpv6_error: initial import 2016-01-23 16:04:05 +01:00
Yonezawa-T2
eaf2153681 gnrc_rpl_control_messages: propagete prefix route via DAO message 2016-01-21 11:11:38 +09:00
Cenk Gündoğan
7269cdbf03 rpl: fix netapi commands handling 2016-01-11 18:30:29 +01:00
Johann Fischer
2f94d669d7 gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
This patch fixes overflow, which is caused by
(pkt->size - aligned_size). This happens if pkt->size and
new size are unaligned and the difference
between pkt->size and new size is less than four.
2016-01-07 15:17:52 +01:00