0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig 6LOWPAN
0003 tristate "6LoWPAN Support"
0004 depends on IPV6
0005 help
0006 This enables IPv6 over Low power Wireless Personal Area Network -
0007 "6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks.
0008
0009 config 6LOWPAN_DEBUGFS
0010 bool "6LoWPAN debugfs support"
0011 depends on 6LOWPAN
0012 depends on DEBUG_FS
0013 help
0014 This enables 6LoWPAN debugfs support. For example to manipulate
0015 IPHC context information at runtime.
0016
0017 menuconfig 6LOWPAN_NHC
0018 tristate "Next Header and Generic Header Compression Support"
0019 depends on 6LOWPAN
0020 default y
0021 help
0022 Support for next header and generic header compression defined in
0023 RFC6282 and RFC7400.
0024
0025 if 6LOWPAN_NHC
0026
0027 config 6LOWPAN_NHC_DEST
0028 tristate "Destination Options Header Support"
0029 default y
0030 help
0031 6LoWPAN IPv6 Destination Options Header compression according to
0032 RFC6282.
0033
0034 config 6LOWPAN_NHC_FRAGMENT
0035 tristate "Fragment Header Support"
0036 default y
0037 help
0038 6LoWPAN IPv6 Fragment Header compression according to RFC6282.
0039
0040 config 6LOWPAN_NHC_HOP
0041 tristate "Hop-by-Hop Options Header Support"
0042 default y
0043 help
0044 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
0045 RFC6282.
0046
0047 config 6LOWPAN_NHC_IPV6
0048 tristate "IPv6 Header Support"
0049 default y
0050 help
0051 6LoWPAN IPv6 Header compression according to RFC6282.
0052
0053 config 6LOWPAN_NHC_MOBILITY
0054 tristate "Mobility Header Support"
0055 default y
0056 help
0057 6LoWPAN IPv6 Mobility Header compression according to RFC6282.
0058
0059 config 6LOWPAN_NHC_ROUTING
0060 tristate "Routing Header Support"
0061 default y
0062 help
0063 6LoWPAN IPv6 Routing Header compression according to RFC6282.
0064
0065 config 6LOWPAN_NHC_UDP
0066 tristate "UDP Header Support"
0067 default y
0068 help
0069 6LoWPAN IPv6 UDP Header compression according to RFC6282.
0070
0071 config 6LOWPAN_GHC_EXT_HDR_HOP
0072 tristate "GHC Hop-by-Hop Options Header Support"
0073 help
0074 6LoWPAN IPv6 Hop-by-Hop option generic header compression according
0075 to RFC7400.
0076
0077 config 6LOWPAN_GHC_UDP
0078 tristate "GHC UDP Support"
0079 help
0080 6LoWPAN IPv6 UDP generic header compression according to RFC7400.
0081
0082 config 6LOWPAN_GHC_ICMPV6
0083 tristate "GHC ICMPv6 Support"
0084 help
0085 6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400.
0086
0087 config 6LOWPAN_GHC_EXT_HDR_DEST
0088 tristate "GHC Destination Options Header Support"
0089 help
0090 6LoWPAN IPv6 destination option generic header compression according
0091 to RFC7400.
0092
0093 config 6LOWPAN_GHC_EXT_HDR_FRAG
0094 tristate "GHC Fragmentation Options Header Support"
0095 help
0096 6LoWPAN IPv6 fragmentation option generic header compression
0097 according to RFC7400.
0098
0099 config 6LOWPAN_GHC_EXT_HDR_ROUTE
0100 tristate "GHC Routing Options Header Support"
0101 help
0102 6LoWPAN IPv6 routing option generic header compression according
0103 to RFC7400.
0104
0105 endif