xref: /openbmc/linux/net/ipv6/Kconfig (revision 7bc570c8)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# IPv6 configuration
31da177e4SLinus Torvalds#
46a2e9b73SSam Ravnborg
56a2e9b73SSam Ravnborg#   IPv6 as module will cause a CRASH if you try to unload it
66a2e9b73SSam Ravnborgconfig IPV6
76a2e9b73SSam Ravnborg	tristate "The IPv6 protocol"
86a2e9b73SSam Ravnborg	default m
96a2e9b73SSam Ravnborg	---help---
106a2e9b73SSam Ravnborg	  This is complemental support for the IP version 6.
116a2e9b73SSam Ravnborg	  You will still be able to do traditional IPv4 networking as well.
126a2e9b73SSam Ravnborg
136a2e9b73SSam Ravnborg	  For general information about IPv6, see
146a2e9b73SSam Ravnborg	  <http://playground.sun.com/pub/ipng/html/ipng-main.html>.
156a2e9b73SSam Ravnborg	  For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
166a2e9b73SSam Ravnborg	  For specific information about IPv6 under Linux, read the HOWTO at
176a2e9b73SSam Ravnborg	  <http://www.bieringer.de/linux/IPv6/>.
186a2e9b73SSam Ravnborg
196a2e9b73SSam Ravnborg	  To compile this protocol support as a module, choose M here: the
206a2e9b73SSam Ravnborg	  module will be called ipv6.
216a2e9b73SSam Ravnborg
221da177e4SLinus Torvaldsconfig IPV6_PRIVACY
23955189efSYOSHIFUJI Hideaki	bool "IPv6: Privacy Extensions support"
241da177e4SLinus Torvalds	depends on IPV6
251da177e4SLinus Torvalds	---help---
261da177e4SLinus Torvalds	  Privacy Extensions for Stateless Address Autoconfiguration in IPv6
271da177e4SLinus Torvalds	  support.  With this option, additional periodically-alter
281da177e4SLinus Torvalds	  pseudo-random global-scope unicast address(es) will assigned to
291da177e4SLinus Torvalds	  your interface(s).
301da177e4SLinus Torvalds
31955189efSYOSHIFUJI Hideaki	  We use our standard pseudo random algorithm to generate randomized
32955189efSYOSHIFUJI Hideaki	  interface identifier, instead of one described in RFC 3041.
33955189efSYOSHIFUJI Hideaki
341da177e4SLinus Torvalds	  By default, kernel do not generate temporary addresses.
351da177e4SLinus Torvalds	  To use temporary addresses, do
361da177e4SLinus Torvalds
371da177e4SLinus Torvalds	        echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
381da177e4SLinus Torvalds
391da177e4SLinus Torvalds	  See <file:Documentation/networking/ip-sysctl.txt> for details.
401da177e4SLinus Torvalds
41ebacaaa0SYOSHIFUJI Hideakiconfig IPV6_ROUTER_PREF
42ebacaaa0SYOSHIFUJI Hideaki	bool "IPv6: Router Preference (RFC 4191) support"
43ebacaaa0SYOSHIFUJI Hideaki	depends on IPV6
44ebacaaa0SYOSHIFUJI Hideaki	---help---
45ebacaaa0SYOSHIFUJI Hideaki	  Router Preference is an optional extension to the Router
46ebacaaa0SYOSHIFUJI Hideaki	  Advertisement message to improve the ability of hosts
47ebacaaa0SYOSHIFUJI Hideaki	  to pick more appropriate router, especially when the hosts
48ebacaaa0SYOSHIFUJI Hideaki	  is placed in a multi-homed network.
49ebacaaa0SYOSHIFUJI Hideaki
50ebacaaa0SYOSHIFUJI Hideaki	  If unsure, say N.
51ebacaaa0SYOSHIFUJI Hideaki
5270ceb4f5SYOSHIFUJI Hideakiconfig IPV6_ROUTE_INFO
5370ceb4f5SYOSHIFUJI Hideaki	bool "IPv6: Route Information (RFC 4191) support (EXPERIMENTAL)"
5470ceb4f5SYOSHIFUJI Hideaki	depends on IPV6_ROUTER_PREF && EXPERIMENTAL
5570ceb4f5SYOSHIFUJI Hideaki	---help---
5670ceb4f5SYOSHIFUJI Hideaki	  This is experimental support of Route Information.
5770ceb4f5SYOSHIFUJI Hideaki
5870ceb4f5SYOSHIFUJI Hideaki	  If unsure, say N.
5970ceb4f5SYOSHIFUJI Hideaki
6095c385b4SNeil Hormanconfig IPV6_OPTIMISTIC_DAD
6195c385b4SNeil Horman	bool "IPv6: Enable RFC 4429 Optimistic DAD (EXPERIMENTAL)"
6295c385b4SNeil Horman	depends on IPV6 && EXPERIMENTAL
6395c385b4SNeil Horman	---help---
6495c385b4SNeil Horman	  This is experimental support for optimistic Duplicate
6595c385b4SNeil Horman	  Address Detection.  It allows for autoconfigured addresses
6695c385b4SNeil Horman	  to be used more quickly.
6795c385b4SNeil Horman
6895c385b4SNeil Horman	  If unsure, say N.
6995c385b4SNeil Horman
701da177e4SLinus Torvaldsconfig INET6_AH
711da177e4SLinus Torvalds	tristate "IPv6: AH transformation"
721da177e4SLinus Torvalds	depends on IPV6
731da177e4SLinus Torvalds	select XFRM
741da177e4SLinus Torvalds	select CRYPTO
751da177e4SLinus Torvalds	select CRYPTO_HMAC
761da177e4SLinus Torvalds	select CRYPTO_MD5
771da177e4SLinus Torvalds	select CRYPTO_SHA1
781da177e4SLinus Torvalds	---help---
791da177e4SLinus Torvalds	  Support for IPsec AH.
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	  If unsure, say Y.
821da177e4SLinus Torvalds
831da177e4SLinus Torvaldsconfig INET6_ESP
841da177e4SLinus Torvalds	tristate "IPv6: ESP transformation"
851da177e4SLinus Torvalds	depends on IPV6
861da177e4SLinus Torvalds	select XFRM
871da177e4SLinus Torvalds	select CRYPTO
88ed58dd41SHerbert Xu	select CRYPTO_AUTHENC
891da177e4SLinus Torvalds	select CRYPTO_HMAC
901da177e4SLinus Torvalds	select CRYPTO_MD5
916b7326c8SHerbert Xu	select CRYPTO_CBC
921da177e4SLinus Torvalds	select CRYPTO_SHA1
931da177e4SLinus Torvalds	select CRYPTO_DES
941da177e4SLinus Torvalds	---help---
951da177e4SLinus Torvalds	  Support for IPsec ESP.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  If unsure, say Y.
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig INET6_IPCOMP
1001da177e4SLinus Torvalds	tristate "IPv6: IPComp transformation"
1011da177e4SLinus Torvalds	depends on IPV6
1021da177e4SLinus Torvalds	select XFRM
103d2acc347SHerbert Xu	select INET6_XFRM_TUNNEL
1041da177e4SLinus Torvalds	select CRYPTO
1051da177e4SLinus Torvalds	select CRYPTO_DEFLATE
1061da177e4SLinus Torvalds	---help---
1071da177e4SLinus Torvalds	  Support for IP Payload Compression Protocol (IPComp) (RFC3173),
1081da177e4SLinus Torvalds	  typically needed for IPsec.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvalds	  If unsure, say Y.
1111da177e4SLinus Torvalds
112ee538268SMasahide NAKAMURAconfig IPV6_MIP6
11359fbb3a6SMasahide NAKAMURA	tristate "IPv6: Mobility (EXPERIMENTAL)"
114ee538268SMasahide NAKAMURA	depends on IPV6 && EXPERIMENTAL
115ee538268SMasahide NAKAMURA	select XFRM
116ee538268SMasahide NAKAMURA	---help---
117ee538268SMasahide NAKAMURA	  Support for IPv6 Mobility described in RFC 3775.
118ee538268SMasahide NAKAMURA
119ee538268SMasahide NAKAMURA	  If unsure, say N.
120ee538268SMasahide NAKAMURA
121d2acc347SHerbert Xuconfig INET6_XFRM_TUNNEL
122d2acc347SHerbert Xu	tristate
123d2acc347SHerbert Xu	select INET6_TUNNEL
124d2acc347SHerbert Xu	default n
1251da177e4SLinus Torvalds
126d2acc347SHerbert Xuconfig INET6_TUNNEL
127d2acc347SHerbert Xu	tristate
128d2acc347SHerbert Xu	default n
1291da177e4SLinus Torvalds
130b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TRANSPORT
131b59f45d0SHerbert Xu	tristate "IPv6: IPsec transport mode"
132b59f45d0SHerbert Xu	depends on IPV6
133b59f45d0SHerbert Xu	default IPV6
134b59f45d0SHerbert Xu	select XFRM
135b59f45d0SHerbert Xu	---help---
136b59f45d0SHerbert Xu	  Support for IPsec transport mode.
137b59f45d0SHerbert Xu
138b59f45d0SHerbert Xu	  If unsure, say Y.
139b59f45d0SHerbert Xu
140b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TUNNEL
141b59f45d0SHerbert Xu	tristate "IPv6: IPsec tunnel mode"
142b59f45d0SHerbert Xu	depends on IPV6
143b59f45d0SHerbert Xu	default IPV6
144b59f45d0SHerbert Xu	select XFRM
145b59f45d0SHerbert Xu	---help---
146b59f45d0SHerbert Xu	  Support for IPsec tunnel mode.
147b59f45d0SHerbert Xu
148b59f45d0SHerbert Xu	  If unsure, say Y.
149b59f45d0SHerbert Xu
1500a69452cSDiego Beltramiconfig INET6_XFRM_MODE_BEET
1510a69452cSDiego Beltrami	tristate "IPv6: IPsec BEET mode"
1520a69452cSDiego Beltrami	depends on IPV6
1530a69452cSDiego Beltrami	default IPV6
1540a69452cSDiego Beltrami	select XFRM
1550a69452cSDiego Beltrami	---help---
1560a69452cSDiego Beltrami	  Support for IPsec BEET mode.
1570a69452cSDiego Beltrami
1580a69452cSDiego Beltrami	  If unsure, say Y.
1590a69452cSDiego Beltrami
1601d71627dSMasahide NAKAMURAconfig INET6_XFRM_MODE_ROUTEOPTIMIZATION
1611d71627dSMasahide NAKAMURA	tristate "IPv6: MIPv6 route optimization mode (EXPERIMENTAL)"
1621d71627dSMasahide NAKAMURA	depends on IPV6 && EXPERIMENTAL
1631d71627dSMasahide NAKAMURA	select XFRM
1641d71627dSMasahide NAKAMURA	---help---
1651d71627dSMasahide NAKAMURA	  Support for MIPv6 route optimization mode.
1661d71627dSMasahide NAKAMURA
167989e5b96SJoerg Roedelconfig IPV6_SIT
168989e5b96SJoerg Roedel	tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
169989e5b96SJoerg Roedel	depends on IPV6
170c73cb5a2SKazunori MIYAZAWA	select INET_TUNNEL
171989e5b96SJoerg Roedel	default y
172989e5b96SJoerg Roedel	---help---
173989e5b96SJoerg Roedel	  Tunneling means encapsulating data of one protocol type within
174989e5b96SJoerg Roedel	  another protocol and sending it over a channel that understands the
175989e5b96SJoerg Roedel	  encapsulating protocol. This driver implements encapsulation of IPv6
176989e5b96SJoerg Roedel	  into IPv4 packets. This is useful if you want to connect two IPv6
177989e5b96SJoerg Roedel	  networks over an IPv4-only path.
178989e5b96SJoerg Roedel
179989e5b96SJoerg Roedel	  Saying M here will produce a module called sit.ko. If unsure, say Y.
180989e5b96SJoerg Roedel
1811da177e4SLinus Torvaldsconfig IPV6_TUNNEL
18238fe999eSYOSHIFUJI Hideaki	tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
183d2acc347SHerbert Xu	select INET6_TUNNEL
1841da177e4SLinus Torvalds	depends on IPV6
1851da177e4SLinus Torvalds	---help---
18638fe999eSYOSHIFUJI Hideaki	  Support for IPv6-in-IPv6 and IPv4-in-IPv6 tunnels described in
18738fe999eSYOSHIFUJI Hideaki	  RFC 2473.
1881da177e4SLinus Torvalds
1891da177e4SLinus Torvalds	  If unsure, say N.
1901da177e4SLinus Torvalds
191264e91b6SVille Nuorvalaconfig IPV6_MULTIPLE_TABLES
192264e91b6SVille Nuorvala	bool "IPv6: Multiple Routing Tables"
193264e91b6SVille Nuorvala	depends on IPV6 && EXPERIMENTAL
194264e91b6SVille Nuorvala	select FIB_RULES
195264e91b6SVille Nuorvala	---help---
196264e91b6SVille Nuorvala	  Support multiple routing tables.
197264e91b6SVille Nuorvala
1984e96c2b4SYOSHIFUJI Hideakiconfig IPV6_SUBTREES
1994e96c2b4SYOSHIFUJI Hideaki	bool "IPv6: source address based routing"
200264e91b6SVille Nuorvala	depends on IPV6_MULTIPLE_TABLES
2014e96c2b4SYOSHIFUJI Hideaki	---help---
2024e96c2b4SYOSHIFUJI Hideaki	  Enable routing by source address or prefix.
2034e96c2b4SYOSHIFUJI Hideaki
2044e96c2b4SYOSHIFUJI Hideaki	  The destination address is still the primary routing key, so mixing
2054e96c2b4SYOSHIFUJI Hideaki	  normal and source prefix specific routes in the same routing table
2064e96c2b4SYOSHIFUJI Hideaki	  may sometimes lead to unintended routing behavior.  This can be
2074e96c2b4SYOSHIFUJI Hideaki	  avoided by defining different routing tables for the normal and
2084e96c2b4SYOSHIFUJI Hideaki	  source prefix specific routes.
2094e96c2b4SYOSHIFUJI Hideaki
2104e96c2b4SYOSHIFUJI Hideaki	  If unsure, say N.
2114e96c2b4SYOSHIFUJI Hideaki
212*7bc570c8SYOSHIFUJI Hideakiconfig IPV6_MROUTE
213*7bc570c8SYOSHIFUJI Hideaki	bool "IPv6: multicast routing (EXPERIMENTAL)"
214*7bc570c8SYOSHIFUJI Hideaki	depends on IPV6 && EXPERIMENTAL
215*7bc570c8SYOSHIFUJI Hideaki	---help---
216*7bc570c8SYOSHIFUJI Hideaki	  Experimental support for IPv6 multicast forwarding.
217*7bc570c8SYOSHIFUJI Hideaki	  If unsure, say N.
218*7bc570c8SYOSHIFUJI Hideaki
219