blob: 4c1f4c0aa58a69ec812ee6f3fae034728eaffe1d [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Alexander Aringcc6ed262015-01-09 16:42:58 +01002menuconfig 6LOWPAN
Geert Uytterhoeven2d177f32014-08-07 17:06:43 +02003 tristate "6LoWPAN Support"
Alexander Aring2c6bed72014-07-11 10:24:18 +02004 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 Aringcc6ed262015-01-09 16:42:58 +01008
Alexander Aringb1815fd2015-12-09 22:46:30 +01009config 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 Aringcc6ed262015-01-09 16:42:58 +010017menuconfig 6LOWPAN_NHC
Stefan Schmidt5e5c08c2015-12-09 22:46:22 +010018 tristate "Next Header and Generic Header Compression Support"
Alexander Aringcc6ed262015-01-09 16:42:58 +010019 depends on 6LOWPAN
20 default y
21 ---help---
Stefan Schmidt5e5c08c2015-12-09 22:46:22 +010022 Support for next header and generic header compression defined in
23 RFC6282 and RFC7400.
Alexander Aringcc6ed262015-01-09 16:42:58 +010024
25if 6LOWPAN_NHC
26
Alexander Aringff0fcc22015-01-09 16:42:59 +010027config 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
Alexander Aringcc6ed262015-01-09 16:42:58 +010065config 6LOWPAN_NHC_UDP
66 tristate "UDP Header Support"
67 default y
68 ---help---
69 6LoWPAN IPv6 UDP Header compression according to RFC6282.
70
Stefan Schmidt7e568f502015-12-09 22:46:23 +010071config 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 Schmidt70cc8672015-12-09 22:46:24 +010077config 6LOWPAN_GHC_UDP
78 tristate "GHC UDP Support"
79 ---help---
80 6LoWPAN IPv6 UDP generic header compression according to RFC7400.
81
Stefan Schmidtc39da3b2015-12-09 22:46:25 +010082config 6LOWPAN_GHC_ICMPV6
83 tristate "GHC ICMPv6 Support"
84 ---help---
85 6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400.
86
Stefan Schmidt20616a52015-12-09 22:46:26 +010087config 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 Schmidt2f479942015-12-09 22:46:27 +010093config 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 Schmidt43f26e12015-12-09 22:46:28 +010099config 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 Aringcc6ed262015-01-09 16:42:58 +0100105endif