[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1450102056-23107-1-git-send-email-alex.aring@gmail.com>
Date: Mon, 14 Dec 2015 15:07:34 +0100
From: Alexander Aring <alex.aring@...il.com>
To: linux-wpan@...r.kernel.org
Cc: linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
kernel@...gutronix.de, mcr@...delman.ca, lukasz.duda@...dicsemi.no,
martin.gergeleit@...rm.de, Alexander Aring <alex.aring@...il.com>
Subject: [RFC radvd 0/2] radvd: 6lowpan 6CO testing patches
Hi,
this patch is for testing 6CO fields in RA messages with the help of radvd.
I tested it with the following configuration and two or more nodes which can
directly reach each other.
On one node (6LBR, if more 6LBR they need to have the same context
information!):
interface lowpan0
{
Adv6LBR on;
AdvSendAdvert on;
UnicastOnly on;
AdvCurHopLimit 255;
prefix 2001::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
lowpanco {
ctx 0 {
AdvContextCompressionFlag on;
AdvContextLength 64;
AdvContextPrefix 2001::;
AdvLifeTime 1000;
};
};
};
On other nodes:
interface lowpan0
{
Adv6LBR off;
AdvSendAdvert off;
};
Then you can see that the assigned global link 2001::/64 address will
be compressed. Tested with: ping6 and wireshark on $WPAN interface, when
using 802.15.4 6LoWPAN.
- Alex
Alexander Aring (2):
device-linux: replace ARPHRD_IEEE802154 to ARPHRD_6LOWPAN
radvd: rework 6CO handling
defaults.h | 3 +++
device-bsd44.c | 6 ++++++
device-linux.c | 46 +++++++++++++++++++++++++++++++++++++++++++---
gram.y | 55 ++++++++++++++++++++++++++++++++++++++++++++++---------
pathnames.h | 1 +
privsep-linux.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
process.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
radvd.c | 6 ++++++
radvd.h | 21 +++++++++++++++++++--
scanner.l | 4 +++-
send.c | 33 ++++++++++++++++++++++++---------
11 files changed, 253 insertions(+), 25 deletions(-)
--
2.6.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists