From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Subject: Re: IPv6 over IEEE 802.15.4 aka 6LoWPAN - Neighbor discovery issue Date: Wed, 6 Aug 2014 09:10:27 +0200 Message-ID: <20140806071025.GA29810@omega> References: <20140805121516.GB14196@omega> <53E1B912.5000508@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org, linux-wpan@vger.kernel.org To: Varka Bhadram Return-path: Received: from mail-wg0-f47.google.com ([74.125.82.47]:57472 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753446AbaHFHKe (ORCPT ); Wed, 6 Aug 2014 03:10:34 -0400 Content-Disposition: inline In-Reply-To: <53E1B912.5000508@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Hi Varka, On Wed, Aug 06, 2014 at 10:41:46AM +0530, Varka Bhadram wrote: > The 6LoWPAN Neighbor Discovery protocol (RFC6775) is an optimized version of the > standard IPv6 Neighbor Discovery protocol. 6LoWPAN-ND uses the same standard > ND (RFC4861) messages (ICMPv6) with some additional options (ARO , 6CO and ABRO). > Two new messages (DAR and DAC) have been added to consider the support of Neighbor Discovery > for bootstrapping, header compression, mobility, fault tolerance, etc. > > We implemented 6LoWPAN-ND for linux kernel 3.12, which handles ARO option > in NS(Neighbour Solicitation) and sends NA (Neighbour Advertisement) with > updated ARO option as per RFC6775. We may send you the patches for this implementation. > And we implemented handling of DAR and DAC. > Did you have solve the issue between short and extended address? For RFC6775 we need also context based address compression, we don't support this mainline right now. If yes then you can send me these patches. > Handing of RS (Router Solicitation) and RA (Router Advertisement) will take care > by radvd (Router Advertisement Daemon) in Linux. We added the ABRO and 6CO option > support in radvd. You can find the implementation in [1]. > > > [1]: https://github.com/reubenhwk/radvd/blob/master/send.c#L536 > I see you use the ContextID there, then you need the CID value from 6LoWPAN header there. I am very interest for patches which introduce context based address compression and make it also available in userspace to handle the ContextID with radvd. Thanks. - Alex