linux/net/6lowpan
Alexander Aring feb2add323 6lowpan: iphc: fix handling of link-local compression
This patch fixes handling in case of link-local address compression. A
IPv6 link-local address is defined as fe80::/10 prefix which is also
what ipv6_addr_type checks for link-local addresses.

But IPHC compression for link-local addresses are for fe80::/64 types
only. This patch adds additional checks for zero padded bits in case of
link-local address compression to match on a fe80::/64 address only.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2016-04-08 19:28:13 +02:00
..
6lowpan_i.h 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
core.c 6lowpan: iphc: add support for stateful compression 2016-02-23 20:29:40 +01:00
debugfs.c 6lowpan: debugfs: add missing static 2016-03-10 19:51:29 +01:00
iphc.c 6lowpan: iphc: fix handling of link-local compression 2016-04-08 19:28:13 +02:00
Kconfig 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
Makefile 6lowpan: add debugfs support 2015-12-10 01:25:25 +01:00
nhc_dest.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_fragment.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ghc_ext_dest.c 6lowpan: add nhc module for GHC destination extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_frag.c 6lowpan: add nhc module for GHC fragmentation extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_ext_hop.c 6lowpan: add nhc module for GHC hop-by-hopextension header detection 2015-12-10 01:25:24 +01:00
nhc_ghc_ext_route.c 6lowpan: add nhc module for GHC routing extension header detection 2015-12-10 01:25:25 +01:00
nhc_ghc_icmpv6.c 6lowpan: add nhc module for GHC ICMPv6 detection 2015-12-10 01:25:24 +01:00
nhc_ghc_udp.c 6lowpan: add nhc module for GHC UDP detection 2015-12-10 01:25:24 +01:00
nhc_hop.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_ipv6.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_mobility.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_routing.c 6lowpan: nhc: add other known rfc6282 compressions 2015-02-14 23:08:44 +01:00
nhc_udp.c 6lowpan: move IPHC functionality defines 2015-10-21 00:49:25 +02:00
nhc.c 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00
nhc.h 6lowpan: nhc: move iphc manipulation out of nhc 2015-10-21 00:49:25 +02:00