Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 2 | menuconfig 6LOWPAN |
Geert Uytterhoeven | 2d177f3 | 2014-08-07 17:06:43 +0200 | [diff] [blame] | 3 | tristate "6LoWPAN Support" |
Alexander Aring | 2c6bed7 | 2014-07-11 10:24:18 +0200 | [diff] [blame] | 4 | depends on IPV6 |
| 5 | ---help--- |
| 6 | This enables IPv6 over Low power Wireless Personal Area Network - |
| 7 | "6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks. |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 8 | |
Alexander Aring | b1815fd | 2015-12-09 22:46:30 +0100 | [diff] [blame] | 9 | config 6LOWPAN_DEBUGFS |
| 10 | bool "6LoWPAN debugfs support" |
| 11 | depends on 6LOWPAN |
| 12 | depends on DEBUG_FS |
| 13 | ---help--- |
| 14 | This enables 6LoWPAN debugfs support. For example to manipulate |
| 15 | IPHC context information at runtime. |
| 16 | |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 17 | menuconfig 6LOWPAN_NHC |
Stefan Schmidt | 5e5c08c | 2015-12-09 22:46:22 +0100 | [diff] [blame] | 18 | tristate "Next Header and Generic Header Compression Support" |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 19 | depends on 6LOWPAN |
| 20 | default y |
| 21 | ---help--- |
Stefan Schmidt | 5e5c08c | 2015-12-09 22:46:22 +0100 | [diff] [blame] | 22 | Support for next header and generic header compression defined in |
| 23 | RFC6282 and RFC7400. |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 24 | |
| 25 | if 6LOWPAN_NHC |
| 26 | |
Alexander Aring | ff0fcc2 | 2015-01-09 16:42:59 +0100 | [diff] [blame] | 27 | config 6LOWPAN_NHC_DEST |
| 28 | tristate "Destination Options Header Support" |
| 29 | default y |
| 30 | ---help--- |
| 31 | 6LoWPAN IPv6 Destination Options Header compression according to |
| 32 | RFC6282. |
| 33 | |
| 34 | config 6LOWPAN_NHC_FRAGMENT |
| 35 | tristate "Fragment Header Support" |
| 36 | default y |
| 37 | ---help--- |
| 38 | 6LoWPAN IPv6 Fragment Header compression according to RFC6282. |
| 39 | |
| 40 | config 6LOWPAN_NHC_HOP |
| 41 | tristate "Hop-by-Hop Options Header Support" |
| 42 | default y |
| 43 | ---help--- |
| 44 | 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to |
| 45 | RFC6282. |
| 46 | |
| 47 | config 6LOWPAN_NHC_IPV6 |
| 48 | tristate "IPv6 Header Support" |
| 49 | default y |
| 50 | ---help--- |
| 51 | 6LoWPAN IPv6 Header compression according to RFC6282. |
| 52 | |
| 53 | config 6LOWPAN_NHC_MOBILITY |
| 54 | tristate "Mobility Header Support" |
| 55 | default y |
| 56 | ---help--- |
| 57 | 6LoWPAN IPv6 Mobility Header compression according to RFC6282. |
| 58 | |
| 59 | config 6LOWPAN_NHC_ROUTING |
| 60 | tristate "Routing Header Support" |
| 61 | default y |
| 62 | ---help--- |
| 63 | 6LoWPAN IPv6 Routing Header compression according to RFC6282. |
| 64 | |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 65 | config 6LOWPAN_NHC_UDP |
| 66 | tristate "UDP Header Support" |
| 67 | default y |
| 68 | ---help--- |
| 69 | 6LoWPAN IPv6 UDP Header compression according to RFC6282. |
| 70 | |
Stefan Schmidt | 7e568f50 | 2015-12-09 22:46:23 +0100 | [diff] [blame] | 71 | config 6LOWPAN_GHC_EXT_HDR_HOP |
| 72 | tristate "GHC Hop-by-Hop Options Header Support" |
| 73 | ---help--- |
| 74 | 6LoWPAN IPv6 Hop-by-Hop option generic header compression according |
| 75 | to RFC7400. |
| 76 | |
Stefan Schmidt | 70cc867 | 2015-12-09 22:46:24 +0100 | [diff] [blame] | 77 | config 6LOWPAN_GHC_UDP |
| 78 | tristate "GHC UDP Support" |
| 79 | ---help--- |
| 80 | 6LoWPAN IPv6 UDP generic header compression according to RFC7400. |
| 81 | |
Stefan Schmidt | c39da3b | 2015-12-09 22:46:25 +0100 | [diff] [blame] | 82 | config 6LOWPAN_GHC_ICMPV6 |
| 83 | tristate "GHC ICMPv6 Support" |
| 84 | ---help--- |
| 85 | 6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400. |
| 86 | |
Stefan Schmidt | 20616a5 | 2015-12-09 22:46:26 +0100 | [diff] [blame] | 87 | config 6LOWPAN_GHC_EXT_HDR_DEST |
| 88 | tristate "GHC Destination Options Header Support" |
| 89 | ---help--- |
| 90 | 6LoWPAN IPv6 destination option generic header compression according |
| 91 | to RFC7400. |
| 92 | |
Stefan Schmidt | 2f47994 | 2015-12-09 22:46:27 +0100 | [diff] [blame] | 93 | config 6LOWPAN_GHC_EXT_HDR_FRAG |
| 94 | tristate "GHC Fragmentation Options Header Support" |
| 95 | ---help--- |
| 96 | 6LoWPAN IPv6 fragmentation option generic header compression |
| 97 | according to RFC7400. |
| 98 | |
Stefan Schmidt | 43f26e1 | 2015-12-09 22:46:28 +0100 | [diff] [blame] | 99 | config 6LOWPAN_GHC_EXT_HDR_ROUTE |
| 100 | tristate "GHC Routing Options Header Support" |
| 101 | ---help--- |
| 102 | 6LoWPAN IPv6 routing option generic header compression according |
| 103 | to RFC7400. |
| 104 | |
Alexander Aring | cc6ed26 | 2015-01-09 16:42:58 +0100 | [diff] [blame] | 105 | endif |