xref: /linux/net/6lowpan/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cc6ed268SAlexander Aringmenuconfig 6LOWPAN
32d177f31SGeert Uytterhoeven	tristate "6LoWPAN Support"
42c6bed7cSAlexander Aring	depends on IPV6
52c6bed7cSAlexander Aring	---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
13b1815fd9SAlexander Aring	---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
21cc6ed268SAlexander Aring	---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
30ff0fcc29SAlexander Aring	---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
37ff0fcc29SAlexander Aring	---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
43ff0fcc29SAlexander Aring	---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
50ff0fcc29SAlexander Aring	---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
56ff0fcc29SAlexander Aring	---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
62ff0fcc29SAlexander Aring	---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
68cc6ed268SAlexander Aring	---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"
737e568f50SStefan Schmidt	---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"
7970cc8675SStefan Schmidt	---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"
84c39da3bbSStefan Schmidt	---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"
8920616a5aSStefan Schmidt	---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"
952f479947SStefan Schmidt	---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"
10143f26e17SStefan Schmidt	---help---
10243f26e17SStefan Schmidt	  6LoWPAN IPv6 routing option generic header compression according
10343f26e17SStefan Schmidt	  to RFC7400.
10443f26e17SStefan Schmidt
105cc6ed268SAlexander Aringendif
106