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