6lowpan: iphc: use ipv6 api to check address scope
authorAlexander Aring <alex.aring@gmail.com>
Tue, 29 Jul 2014 21:47:02 +0000 (23:47 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jul 2014 17:28:39 +0000 (19:28 +0200)
commit556a5bfc03c35c6f0b4e85ef6a19d00f0eb6dd00
tree401e9b530eebe89f9a2a5df0840eeef63b4fd1c8
parent85c71240a3e6c151038d9ed3fa88fc0fb80043fb
6lowpan: iphc: use ipv6 api to check address scope

This patch removes the own implementation to check of link-layer,
broadcast and any address type and use the IPv6 api for that.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/6lowpan.h
net/6lowpan/iphc.c