* RFC: right userspace interface for providing 6lowpan contexts
@ 2015-11-17 23:03 Alexander Aring
0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2015-11-17 23:03 UTC (permalink / raw)
To: netdev
Cc: linux-bluetooth, linux-wpan, kernel, mcr, lukasz.duda,
martin.gergeleit, marcel
Hi,
I recently sent some 6lowpan stateful compression patches to netdev. It
provides to setup 6lowpan contexts entries (ipv6 prefixes and prefix-length
by id) via debugfs manually at the moment.
This means, it works when all other "network nodes" also sets the same
ID's inside the table _manually_.
Well, it exists a RFC (and others) [0] to share the prefixes (contexts) inside
the network without manually manipulate the tables.
The rfc6775 describes new ICMPv6 option fields and ICMPv6 messages. I
want to talk about the ICMPv6 messages which are handled by userspace to
handle the necessary option fields.
The case is now, rfc6775 describes 6CO option fields for RA [1]. For this
reason we need an userspace interface to manipulate/get the current
context entries which are currently stored inside the kernel.
These context tables are:
- A per interface declaration.
- Maximum 16 entries.
- Provides: ID, address prefix (can also 128 bit) and prefix-len
My question is what would be the best to do a userspace interface:
Note:
These context tables should only available for 6LoWPAN interface types,
which means: ARPHRD_6LOWPAN.
- netlink entry?
- RTNL netlink?
- 6lowpan netlink?
- We don't currently has any netlink connection for net/6lowpan
branch, but it's possible to add one special "6lowpan" netlink
family to provide all 6LoWPAN configuration which belongs to
ARPHRD_6LOWPAN. We need such interface of course for other
settings as well.
- per interface, sysfs entry
- should _maybe_ looks like the debugfs entries.
Thanks for any suggestion.
- Alex
[0] https://tools.ietf.org/html/rfc6775
[1] https://tools.ietf.org/html/rfc6775#section-5.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-17 23:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 23:03 RFC: right userspace interface for providing 6lowpan contexts Alexander Aring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).