xref: /linux/net/6lowpan/Kconfig (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cc6ed268SAlexander Aringmenuconfig 6LOWPAN
32d177f31SGeert Uytterhoeven	tristate "6LoWPAN Support"
42c6bed7cSAlexander Aring	depends on IPV6
5*a7f7f624SMasahiro Yamada	help
62c6bed7cSAlexander Aring	  This enables IPv6 over Low power Wireless Personal Area Network -
72c6bed7cSAlexander Aring	  "6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks.
8cc6ed268SAlexander Aring
9b1815fd9SAlexander Aringconfig 6LOWPAN_DEBUGFS
10b1815fd9SAlexander Aring	bool "6LoWPAN debugfs support"
11b1815fd9SAlexander Aring	depends on 6LOWPAN
12b1815fd9SAlexander Aring	depends on DEBUG_FS
13*a7f7f624SMasahiro Yamada	help
14b1815fd9SAlexander Aring	  This enables 6LoWPAN debugfs support. For example to manipulate
15b1815fd9SAlexander Aring	  IPHC context information at runtime.
16b1815fd9SAlexander Aring
17cc6ed268SAlexander Aringmenuconfig 6LOWPAN_NHC
185e5c08cbSStefan Schmidt	tristate "Next Header and Generic Header Compression Support"
19cc6ed268SAlexander Aring	depends on 6LOWPAN
20cc6ed268SAlexander Aring	default y
21*a7f7f624SMasahiro Yamada	help
225e5c08cbSStefan Schmidt	  Support for next header and generic header compression defined in
235e5c08cbSStefan Schmidt	  RFC6282 and RFC7400.
24cc6ed268SAlexander Aring
25cc6ed268SAlexander Aringif 6LOWPAN_NHC
26cc6ed268SAlexander Aring
27ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_DEST
28ff0fcc29SAlexander Aring	tristate "Destination Options Header Support"
29ff0fcc29SAlexander Aring	default y
30*a7f7f624SMasahiro Yamada	help
31ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Destination Options Header compression according to
32ff0fcc29SAlexander Aring	  RFC6282.
33ff0fcc29SAlexander Aring
34ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_FRAGMENT
35ff0fcc29SAlexander Aring	tristate "Fragment Header Support"
36ff0fcc29SAlexander Aring	default y
37*a7f7f624SMasahiro Yamada	help
38ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Fragment Header compression according to RFC6282.
39ff0fcc29SAlexander Aring
40ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_HOP
41ff0fcc29SAlexander Aring	tristate "Hop-by-Hop Options Header Support"
42ff0fcc29SAlexander Aring	default y
43*a7f7f624SMasahiro Yamada	help
44ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
45ff0fcc29SAlexander Aring	  RFC6282.
46ff0fcc29SAlexander Aring
47ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_IPV6
48ff0fcc29SAlexander Aring	tristate "IPv6 Header Support"
49ff0fcc29SAlexander Aring	default y
50*a7f7f624SMasahiro Yamada	help
51ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Header compression according to RFC6282.
52ff0fcc29SAlexander Aring
53ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_MOBILITY
54ff0fcc29SAlexander Aring	tristate "Mobility Header Support"
55ff0fcc29SAlexander Aring	default y
56*a7f7f624SMasahiro Yamada	help
57ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Mobility Header compression according to RFC6282.
58ff0fcc29SAlexander Aring
59ff0fcc29SAlexander Aringconfig 6LOWPAN_NHC_ROUTING
60ff0fcc29SAlexander Aring	tristate "Routing Header Support"
61ff0fcc29SAlexander Aring	default y
62*a7f7f624SMasahiro Yamada	help
63ff0fcc29SAlexander Aring	  6LoWPAN IPv6 Routing Header compression according to RFC6282.
64ff0fcc29SAlexander Aring
65cc6ed268SAlexander Aringconfig 6LOWPAN_NHC_UDP
66cc6ed268SAlexander Aring	tristate "UDP Header Support"
67cc6ed268SAlexander Aring	default y
68*a7f7f624SMasahiro Yamada	help
69cc6ed268SAlexander Aring	  6LoWPAN IPv6 UDP Header compression according to RFC6282.
70cc6ed268SAlexander Aring
717e568f50SStefan Schmidtconfig 6LOWPAN_GHC_EXT_HDR_HOP
727e568f50SStefan Schmidt	tristate "GHC Hop-by-Hop Options Header Support"
73*a7f7f624SMasahiro Yamada	help
747e568f50SStefan Schmidt	  6LoWPAN IPv6 Hop-by-Hop option generic header compression according
757e568f50SStefan Schmidt	  to RFC7400.
767e568f50SStefan Schmidt
7770cc8675SStefan Schmidtconfig 6LOWPAN_GHC_UDP
7870cc8675SStefan Schmidt	tristate "GHC UDP Support"
79*a7f7f624SMasahiro Yamada	help
8070cc8675SStefan Schmidt	  6LoWPAN IPv6 UDP generic header compression according to RFC7400.
8170cc8675SStefan Schmidt
82c39da3bbSStefan Schmidtconfig 6LOWPAN_GHC_ICMPV6
83c39da3bbSStefan Schmidt	tristate "GHC ICMPv6 Support"
84*a7f7f624SMasahiro Yamada	help
85c39da3bbSStefan Schmidt	  6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400.
86c39da3bbSStefan Schmidt
8720616a5aSStefan Schmidtconfig 6LOWPAN_GHC_EXT_HDR_DEST
8820616a5aSStefan Schmidt	tristate "GHC Destination Options Header Support"
89*a7f7f624SMasahiro Yamada	help
9020616a5aSStefan Schmidt	  6LoWPAN IPv6 destination option generic header compression according
9120616a5aSStefan Schmidt	  to RFC7400.
9220616a5aSStefan Schmidt
932f479947SStefan Schmidtconfig 6LOWPAN_GHC_EXT_HDR_FRAG
942f479947SStefan Schmidt	tristate "GHC Fragmentation Options Header Support"
95*a7f7f624SMasahiro Yamada	help
962f479947SStefan Schmidt	  6LoWPAN IPv6 fragmentation option generic header compression
972f479947SStefan Schmidt	  according to RFC7400.
982f479947SStefan Schmidt
9943f26e17SStefan Schmidtconfig 6LOWPAN_GHC_EXT_HDR_ROUTE
10043f26e17SStefan Schmidt	tristate "GHC Routing Options Header Support"
101*a7f7f624SMasahiro Yamada	help
10243f26e17SStefan Schmidt	  6LoWPAN IPv6 routing option generic header compression according
10343f26e17SStefan Schmidt	  to RFC7400.
10443f26e17SStefan Schmidt
105cc6ed268SAlexander Aringendif
106