diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-06-15 21:20:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 20:41:23 -0700 |
commit | bbe5f5cefe2818eda0392c178de141ffc5734d90 (patch) | |
tree | ce1e7c54c9e1b2adce96d91f8d9c594ee4e895a0 /net/6lowpan/6lowpan_i.h | |
parent | cc84b3c6b48ae81748c5e25d3558872385196162 (diff) | |
download | op-kernel-dev-bbe5f5cefe2818eda0392c178de141ffc5734d90.zip op-kernel-dev-bbe5f5cefe2818eda0392c178de141ffc5734d90.tar.gz |
6lowpan: introduce 6lowpan-nd
This patch introduce different 6lowpan handling for receive and transmit
NS/NA messages for the ipv6 neighbour discovery. The first use-case is
for supporting 802.15.4 short addresses inside the option fields and
handling for RFC6775 6CO option field as userspace option.
Cc: David S. Miller <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/6lowpan/6lowpan_i.h')
-rw-r--r-- | net/6lowpan/6lowpan_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/6lowpan/6lowpan_i.h b/net/6lowpan/6lowpan_i.h index 97ecc27..a67caee 100644 --- a/net/6lowpan/6lowpan_i.h +++ b/net/6lowpan/6lowpan_i.h @@ -12,6 +12,10 @@ static inline bool lowpan_is_ll(const struct net_device *dev, return lowpan_dev(dev)->lltype == lltype; } +extern const struct ndisc_ops lowpan_ndisc_ops; + +int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev); + #ifdef CONFIG_6LOWPAN_DEBUGFS int lowpan_dev_debugfs_init(struct net_device *dev); void lowpan_dev_debugfs_exit(struct net_device *dev); |