summaryrefslogtreecommitdiff
path: root/net/6lowpan/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-01-09 16:42:58 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-02-14 23:08:44 +0100
commitcc6ed2684751b0a1074b37c080983b6ce737ed22 (patch)
treea000e4ac91ee5afa1fa65c55e5ce5c70cef8009f /net/6lowpan/Kconfig
parent92aa7c65d295f3cbb96904afe335f683e55584b8 (diff)
6lowpan: add udp compression via nhc layer
This patch move UDP header compression and uncompression into the generic 6LoWPAN nhc header compression layer. Moreover this patch activates the nhc layer compression in iphc compression and uncompression functions. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Martin Townsend <mtownsend1973@gmail.com> Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com> Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/6lowpan/Kconfig')
-rw-r--r--net/6lowpan/Kconfig19
1 files changed, 18 insertions, 1 deletions
diff --git a/net/6lowpan/Kconfig b/net/6lowpan/Kconfig
index e4a02ef55102..e45c96321845 100644
--- a/net/6lowpan/Kconfig
+++ b/net/6lowpan/Kconfig
@@ -1,6 +1,23 @@
-config 6LOWPAN
+menuconfig 6LOWPAN
tristate "6LoWPAN Support"
depends on IPV6
---help---
This enables IPv6 over Low power Wireless Personal Area Network -
"6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks.
+
+menuconfig 6LOWPAN_NHC
+ tristate "Next Header Compression Support"
+ depends on 6LOWPAN
+ default y
+ ---help---
+ Support for next header compression.
+
+if 6LOWPAN_NHC
+
+config 6LOWPAN_NHC_UDP
+ tristate "UDP Header Support"
+ default y
+ ---help---
+ 6LoWPAN IPv6 UDP Header compression according to RFC6282.
+
+endif