From: Varka Bhadram <varkabhadram@gmail.com>
To: linux-wpan - ML <linux-wpan@vger.kernel.org>
Cc: "alex.aring@gmail.com" <alex.aring@gmail.com>
Subject: Regarding dev->addr_len
Date: Fri, 08 Aug 2014 14:10:48 +0530 [thread overview]
Message-ID: <53E48D10.3090606@gmail.com> (raw)
Hi Alex,
I need some clarification regarding address length for the netdevice.
We are always setting up that to IEEE802154_ADDR_LEN [1].
If i receive a packet (RS: Router Solicitation) with short addressing mode,
it is discarding at higher layers.
If the linux node receives the RS packet from TinyOS node its discarding
at [2] due to address length field. Here [2] we are getting *lladdr* as NULL.
Actually we have to update the dev->addr_len filed as per the packet info it received ..?
How can we make it work..?
[1]:http://lxr.free-electrons.com/source/net/mac802154/wpan.c#L375
[2]:http://lxr.free-electrons.com/source/net/ipv6/ndisc.c#L991
--
Regards,
Varka Bhadram.
next reply other threads:[~2014-08-08 8:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 8:40 Varka Bhadram [this message]
2014-08-08 9:33 ` Regarding dev->addr_len Alexander Aring
2014-08-08 9:54 ` Varka Bhadram
2014-08-08 10:47 ` Alexander Aring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E48D10.3090606@gmail.com \
--to=varkabhadram@gmail.com \
--cc=alex.aring@gmail.com \
--cc=linux-wpan@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox