diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-02-22 09:13:54 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-02-23 20:29:40 +0100 |
commit | 5609c185f24dffca5f6a9c127106869da150be03 (patch) | |
tree | 709e278dc1463646bf0db64b2f03511e3e4ec934 /net/6lowpan/nhc_ghc_ext_frag.c | |
parent | aef00c15b8c503083a703900a755fdb1cf2436e0 (diff) |
6lowpan: iphc: add support for stateful compression
This patch introduce support for IPHC stateful address compression. It
will offer the context table via one debugfs entry.
This debugfs has and directory for each cid entry for the context table.
Inside each cid directory there exists the following files:
- "active": If the entry is added or deleted. The context table is
original a list implementation, this flag will indicate if the
context is part of list or not.
- "prefix": The ipv6 prefix.
- "prefix_length": The prefix length for the prefix.
- "compression": The compression flag according RFC6775.
This part should be moved into sysfs after some testing time.
Also the debugfs entry contains a "show" file which is a pretty-printout
for the current context table information.
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/6lowpan/nhc_ghc_ext_frag.c')
0 files changed, 0 insertions, 0 deletions