xref: /openbmc/linux/net/6lowpan/Kconfig (revision 23c2b932)
1menuconfig 6LOWPAN
2	tristate "6LoWPAN Support"
3	depends on IPV6
4	---help---
5	  This enables IPv6 over Low power Wireless Personal Area Network -
6	  "6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks.
7
8config 6LOWPAN_DEBUGFS
9	bool "6LoWPAN debugfs support"
10	depends on 6LOWPAN
11	depends on DEBUG_FS
12	---help---
13	  This enables 6LoWPAN debugfs support. For example to manipulate
14	  IPHC context information at runtime.
15
16menuconfig 6LOWPAN_NHC
17	tristate "Next Header and Generic Header Compression Support"
18	depends on 6LOWPAN
19	default y
20	---help---
21	  Support for next header and generic header compression defined in
22	  RFC6282 and RFC7400.
23
24if 6LOWPAN_NHC
25
26config 6LOWPAN_NHC_DEST
27	tristate "Destination Options Header Support"
28	default y
29	---help---
30	  6LoWPAN IPv6 Destination Options Header compression according to
31	  RFC6282.
32
33config 6LOWPAN_NHC_FRAGMENT
34	tristate "Fragment Header Support"
35	default y
36	---help---
37	  6LoWPAN IPv6 Fragment Header compression according to RFC6282.
38
39config 6LOWPAN_NHC_HOP
40	tristate "Hop-by-Hop Options Header Support"
41	default y
42	---help---
43	  6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
44	  RFC6282.
45
46config 6LOWPAN_NHC_IPV6
47	tristate "IPv6 Header Support"
48	default y
49	---help---
50	  6LoWPAN IPv6 Header compression according to RFC6282.
51
52config 6LOWPAN_NHC_MOBILITY
53	tristate "Mobility Header Support"
54	default y
55	---help---
56	  6LoWPAN IPv6 Mobility Header compression according to RFC6282.
57
58config 6LOWPAN_NHC_ROUTING
59	tristate "Routing Header Support"
60	default y
61	---help---
62	  6LoWPAN IPv6 Routing Header compression according to RFC6282.
63
64config 6LOWPAN_NHC_UDP
65	tristate "UDP Header Support"
66	default y
67	---help---
68	  6LoWPAN IPv6 UDP Header compression according to RFC6282.
69
70config 6LOWPAN_GHC_EXT_HDR_HOP
71	tristate "GHC Hop-by-Hop Options Header Support"
72	---help---
73	  6LoWPAN IPv6 Hop-by-Hop option generic header compression according
74	  to RFC7400.
75
76config 6LOWPAN_GHC_UDP
77	tristate "GHC UDP Support"
78	---help---
79	  6LoWPAN IPv6 UDP generic header compression according to RFC7400.
80
81config 6LOWPAN_GHC_ICMPV6
82	tristate "GHC ICMPv6 Support"
83	---help---
84	  6LoWPAN IPv6 ICMPv6 generic header compression according to RFC7400.
85
86config 6LOWPAN_GHC_EXT_HDR_DEST
87	tristate "GHC Destination Options Header Support"
88	---help---
89	  6LoWPAN IPv6 destination option generic header compression according
90	  to RFC7400.
91
92config 6LOWPAN_GHC_EXT_HDR_FRAG
93	tristate "GHC Fragmentation Options Header Support"
94	---help---
95	  6LoWPAN IPv6 fragmentation option generic header compression
96	  according to RFC7400.
97
98config 6LOWPAN_GHC_EXT_HDR_ROUTE
99	tristate "GHC Routing Options Header Support"
100	---help---
101	  6LoWPAN IPv6 routing option generic header compression according
102	  to RFC7400.
103
104endif
105