xref: /openbmc/linux/net/6lowpan/Kconfig (revision 3381df09)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig 6LOWPAN
3	tristate "6LoWPAN Support"
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.
8
9config 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
17menuconfig 6LOWPAN_NHC
18	tristate "Next Header and Generic Header Compression Support"
19	depends on 6LOWPAN
20	default y
21	---help---
22	  Support for next header and generic header compression defined in
23	  RFC6282 and RFC7400.
24
25if 6LOWPAN_NHC
26
27config 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
34config 6LOWPAN_NHC_FRAGMENT
35	tristate "Fragment Header Support"
36	default y
37	---help---
38	  6LoWPAN IPv6 Fragment Header compression according to RFC6282.
39
40config 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
47config 6LOWPAN_NHC_IPV6
48	tristate "IPv6 Header Support"
49	default y
50	---help---
51	  6LoWPAN IPv6 Header compression according to RFC6282.
52
53config 6LOWPAN_NHC_MOBILITY
54	tristate "Mobility Header Support"
55	default y
56	---help---
57	  6LoWPAN IPv6 Mobility Header compression according to RFC6282.
58
59config 6LOWPAN_NHC_ROUTING
60	tristate "Routing Header Support"
61	default y
62	---help---
63	  6LoWPAN IPv6 Routing Header compression according to RFC6282.
64
65config 6LOWPAN_NHC_UDP
66	tristate "UDP Header Support"
67	default y
68	---help---
69	  6LoWPAN IPv6 UDP Header compression according to RFC6282.
70
71config 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
77config 6LOWPAN_GHC_UDP
78	tristate "GHC UDP Support"
79	---help---
80	  6LoWPAN IPv6 UDP generic header compression according to RFC7400.
81
82config 6LOWPAN_GHC_ICMPV6
83	tristate "GHC ICMPv6 Support"
84	---help---
85	  6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400.
86
87config 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
93config 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
99config 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
105endif
106