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

1835 Commits

Author SHA1 Message Date
Martine Lenders
71b6221b57 Merge pull request #4991 from OlegHahm/gnrc_netdev_cleanup
gnrc_netdev: cleanup
2016-03-09 19:30:41 +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
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
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