Martine Lenders
3be4b51209
Merge pull request #8867 from miri64/gnrc_ipv6/fix/possible-null-ptr-deref
...
gnrc_ipv6: fix possible NULL pointer dereference
2018-04-12 14:26:22 +02:00
Robin Nehls
ad5617fb83
gnrc_ipv6: discard non-NONXT packets with 0 payload length
...
If the payload length is zero and the next header field is not set to
NONXT, GNRC will interpret the current header as the payload because the
first snip is always interpreted as the payload. This can lead to loops
and or crashes.
2018-04-03 18:34:48 +02:00
Robin Nehls
326be16b90
gnrc_ipv6: fix possible NULL pointer dereference
...
When the payload length of an encapsulated IPv6 packet is 0, the
`_receive` function of IPv6 can be given a NULL pointer, causing the
IPv6 header checker to crash because of a NULL pointer dereference.
2018-04-03 14:46:12 +02:00
smlng
c2b403f4ad
gnrc/netreg: remove usages of gnrc_netreg_num
2018-02-06 21:39:58 +01:00
d27fa8efa5
Merge pull request #8214 from miri64/gnrc_ipv6/enh/simplify-netif-access
...
gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces
2018-01-17 17:02:55 +01:00
Martine Lenders
7c0bb427fa
gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces
2018-01-17 16:48:58 +01:00
4dba9ee6ba
sys: net: adapt to compile-checked debug messages
2018-01-15 14:37:04 +01:00
Martine Lenders
5bdf3670e3
gnrc_ipv6: fix packet snip switch-up
2017-12-05 12:57:50 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes
2017-11-17 13:43:18 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code
2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures
2017-11-17 09:20:29 +01:00
Martine Lenders
319c0f9d21
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 15:49:20 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing
2017-10-10 10:12:19 +02:00
Hauke Petersen
bc232a5642
Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
...
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Martine Lenders
dc45cd2610
gnrc: use new netreg helper functions everywhere
2016-10-25 18:47:30 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Martine Lenders
dd7fb1c63b
Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
...
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Martine Lenders
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Martine Lenders
bd230d3b63
gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function
2016-08-18 13:25:07 +02:00
Martine Lenders
6d72cdb595
gnrc_ipv6: copy user flags from old netif headers
...
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Oleg Hahm
a2b9defc8b
gnrc ipv6: convenient function to get the header
2016-07-22 16:34:52 +02:00
Martine Lenders
e9bbd54f58
Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
...
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Yonezawa-T2
0de34c91c6
gnrc_ipv6: validates payload size
2016-06-07 10:01:23 +09:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Oleg Hahm
6707c20b7d
netstats: initial import of IPv6 netstats
2016-05-25 14:44:53 +02:00
Martine Lenders
4a13324abb
Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
...
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Martine Lenders
bf135c4750
Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
...
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be
gnrc_ipv6: fix asserts for NHC
2016-04-22 10:11:38 +02:00
kYc0o
d071b2a23d
Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
...
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Martine Lenders
8968b7602f
gnrc_ndp: don't let addresses timeout
...
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe
gnrc_ipv6: remove superfluous check for if_entry
2016-04-20 09:41:45 +02:00
Martine Lenders
d64b922db0
Revert "gnrc ipv6: replace check by assert"
...
This reverts commit 856e1ee0d2
.
2016-04-17 14:06:54 +02:00
Oleg Hahm
230e105599
Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
...
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 14:54:48 +02:00
Oleg Hahm
856e1ee0d2
gnrc ipv6: replace check by assert
...
The existence of netif is mandatory here.
2016-03-25 17:30:50 +01:00
Yonezawa-T2
bc5b0c3140
ipv6_ext: fixed extension header handling
2016-03-22 12:45:08 +09: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
Joakim Nohlgård
61e2626779
gnrc_ipv6: Strip netif header and nothing else
2016-03-12 11:13:53 +01:00
Michael Andersen
60f6aeaf70
ndp: change rtr adv src to link local
2016-03-08 21:33:35 -08:00
Cenk Gündoğan
0ac4ee705c
ipv6: rpl: add source routing header for RPL
2016-02-27 20:39:12 +01: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
Cenk Gündoğan
27a4770601
gnrc_ipv6: make the DEBUG output useful
2016-02-11 16:46:16 +01:00
Martine Lenders
379703ae3a
gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR
2016-02-11 01:05:02 +01:00
BytesGalore
10ea1226bc
gnrc/ipv6: add blacklisting of IPv6 addresses
2016-01-28 21:50:43 +01:00
Martine Lenders
0e0eef1273
gnrc_ipv6: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:15 +01:00
Martine Lenders
68309045ed
gnrc_ipv6: make no pre-assumption about any marked headers
2015-12-18 18:31:24 +01:00
Yonezawa-T2
c36766a31f
OSX: fix warnings/errors thrown by clang on OS X
...
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00