xref: /openbmc/linux/net/ipv6/Kconfig (revision 0a69452c)
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
601da177e4SLinus Torvaldsconfig INET6_AH
611da177e4SLinus Torvalds	tristate "IPv6: AH transformation"
621da177e4SLinus Torvalds	depends on IPV6
631da177e4SLinus Torvalds	select XFRM
641da177e4SLinus Torvalds	select CRYPTO
651da177e4SLinus Torvalds	select CRYPTO_HMAC
661da177e4SLinus Torvalds	select CRYPTO_MD5
671da177e4SLinus Torvalds	select CRYPTO_SHA1
681da177e4SLinus Torvalds	---help---
691da177e4SLinus Torvalds	  Support for IPsec AH.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  If unsure, say Y.
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldsconfig INET6_ESP
741da177e4SLinus Torvalds	tristate "IPv6: ESP transformation"
751da177e4SLinus Torvalds	depends on IPV6
761da177e4SLinus Torvalds	select XFRM
771da177e4SLinus Torvalds	select CRYPTO
781da177e4SLinus Torvalds	select CRYPTO_HMAC
791da177e4SLinus Torvalds	select CRYPTO_MD5
806b7326c8SHerbert Xu	select CRYPTO_CBC
811da177e4SLinus Torvalds	select CRYPTO_SHA1
821da177e4SLinus Torvalds	select CRYPTO_DES
831da177e4SLinus Torvalds	---help---
841da177e4SLinus Torvalds	  Support for IPsec ESP.
851da177e4SLinus Torvalds
861da177e4SLinus Torvalds	  If unsure, say Y.
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldsconfig INET6_IPCOMP
891da177e4SLinus Torvalds	tristate "IPv6: IPComp transformation"
901da177e4SLinus Torvalds	depends on IPV6
911da177e4SLinus Torvalds	select XFRM
92d2acc347SHerbert Xu	select INET6_XFRM_TUNNEL
931da177e4SLinus Torvalds	select CRYPTO
941da177e4SLinus Torvalds	select CRYPTO_DEFLATE
951da177e4SLinus Torvalds	---help---
961da177e4SLinus Torvalds	  Support for IP Payload Compression Protocol (IPComp) (RFC3173),
971da177e4SLinus Torvalds	  typically needed for IPsec.
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds	  If unsure, say Y.
1001da177e4SLinus Torvalds
101ee538268SMasahide NAKAMURAconfig IPV6_MIP6
102ee538268SMasahide NAKAMURA	bool "IPv6: Mobility (EXPERIMENTAL)"
103ee538268SMasahide NAKAMURA	depends on IPV6 && EXPERIMENTAL
104ee538268SMasahide NAKAMURA	select XFRM
105ee538268SMasahide NAKAMURA	---help---
106ee538268SMasahide NAKAMURA	  Support for IPv6 Mobility described in RFC 3775.
107ee538268SMasahide NAKAMURA
108ee538268SMasahide NAKAMURA	  If unsure, say N.
109ee538268SMasahide NAKAMURA
110d2acc347SHerbert Xuconfig INET6_XFRM_TUNNEL
111d2acc347SHerbert Xu	tristate
112d2acc347SHerbert Xu	select INET6_TUNNEL
113d2acc347SHerbert Xu	default n
1141da177e4SLinus Torvalds
115d2acc347SHerbert Xuconfig INET6_TUNNEL
116d2acc347SHerbert Xu	tristate
117d2acc347SHerbert Xu	default n
1181da177e4SLinus Torvalds
119b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TRANSPORT
120b59f45d0SHerbert Xu	tristate "IPv6: IPsec transport mode"
121b59f45d0SHerbert Xu	depends on IPV6
122b59f45d0SHerbert Xu	default IPV6
123b59f45d0SHerbert Xu	select XFRM
124b59f45d0SHerbert Xu	---help---
125b59f45d0SHerbert Xu	  Support for IPsec transport mode.
126b59f45d0SHerbert Xu
127b59f45d0SHerbert Xu	  If unsure, say Y.
128b59f45d0SHerbert Xu
129b59f45d0SHerbert Xuconfig INET6_XFRM_MODE_TUNNEL
130b59f45d0SHerbert Xu	tristate "IPv6: IPsec tunnel mode"
131b59f45d0SHerbert Xu	depends on IPV6
132b59f45d0SHerbert Xu	default IPV6
133b59f45d0SHerbert Xu	select XFRM
134b59f45d0SHerbert Xu	---help---
135b59f45d0SHerbert Xu	  Support for IPsec tunnel mode.
136b59f45d0SHerbert Xu
137b59f45d0SHerbert Xu	  If unsure, say Y.
138b59f45d0SHerbert Xu
139*0a69452cSDiego Beltramiconfig INET6_XFRM_MODE_BEET
140*0a69452cSDiego Beltrami	tristate "IPv6: IPsec BEET mode"
141*0a69452cSDiego Beltrami	depends on IPV6
142*0a69452cSDiego Beltrami	default IPV6
143*0a69452cSDiego Beltrami	select XFRM
144*0a69452cSDiego Beltrami	---help---
145*0a69452cSDiego Beltrami	  Support for IPsec BEET mode.
146*0a69452cSDiego Beltrami
147*0a69452cSDiego Beltrami	  If unsure, say Y.
148*0a69452cSDiego Beltrami
1491d71627dSMasahide NAKAMURAconfig INET6_XFRM_MODE_ROUTEOPTIMIZATION
1501d71627dSMasahide NAKAMURA	tristate "IPv6: MIPv6 route optimization mode (EXPERIMENTAL)"
1511d71627dSMasahide NAKAMURA	depends on IPV6 && EXPERIMENTAL
1521d71627dSMasahide NAKAMURA	select XFRM
1531d71627dSMasahide NAKAMURA	---help---
1541d71627dSMasahide NAKAMURA	  Support for MIPv6 route optimization mode.
1551d71627dSMasahide NAKAMURA
1561da177e4SLinus Torvaldsconfig IPV6_TUNNEL
1571da177e4SLinus Torvalds	tristate "IPv6: IPv6-in-IPv6 tunnel"
158d2acc347SHerbert Xu	select INET6_TUNNEL
1591da177e4SLinus Torvalds	depends on IPV6
1601da177e4SLinus Torvalds	---help---
1611da177e4SLinus Torvalds	  Support for IPv6-in-IPv6 tunnels described in RFC 2473.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvalds	  If unsure, say N.
1641da177e4SLinus Torvalds
1654e96c2b4SYOSHIFUJI Hideakiconfig IPV6_SUBTREES
1664e96c2b4SYOSHIFUJI Hideaki	bool "IPv6: source address based routing"
1674e96c2b4SYOSHIFUJI Hideaki	depends on IPV6 && EXPERIMENTAL
1684e96c2b4SYOSHIFUJI Hideaki	---help---
1694e96c2b4SYOSHIFUJI Hideaki	  Enable routing by source address or prefix.
1704e96c2b4SYOSHIFUJI Hideaki
1714e96c2b4SYOSHIFUJI Hideaki	  The destination address is still the primary routing key, so mixing
1724e96c2b4SYOSHIFUJI Hideaki	  normal and source prefix specific routes in the same routing table
1734e96c2b4SYOSHIFUJI Hideaki	  may sometimes lead to unintended routing behavior.  This can be
1744e96c2b4SYOSHIFUJI Hideaki	  avoided by defining different routing tables for the normal and
1754e96c2b4SYOSHIFUJI Hideaki	  source prefix specific routes.
1764e96c2b4SYOSHIFUJI Hideaki
1774e96c2b4SYOSHIFUJI Hideaki	  If unsure, say N.
1784e96c2b4SYOSHIFUJI Hideaki
179c71099acSThomas Grafconfig IPV6_MULTIPLE_TABLES
180c71099acSThomas Graf	bool "IPv6: Multiple Routing Tables"
181c71099acSThomas Graf	depends on IPV6 && EXPERIMENTAL
182101367c2SThomas Graf	select FIB_RULES
183c71099acSThomas Graf	---help---
184c71099acSThomas Graf	  Support multiple routing tables.
185c71099acSThomas Graf
18675bff8f0SYOSHIFUJI Hideakiconfig IPV6_ROUTE_FWMARK
18775bff8f0SYOSHIFUJI Hideaki	bool "IPv6: use netfilter MARK value as routing key"
18875bff8f0SYOSHIFUJI Hideaki	depends on IPV6_MULTIPLE_TABLES && NETFILTER
18975bff8f0SYOSHIFUJI Hideaki	---help---
19075bff8f0SYOSHIFUJI Hideaki	  If you say Y here, you will be able to specify different routes for
19175bff8f0SYOSHIFUJI Hideaki	  packets with different mark values (see iptables(8), MARK target).
19275bff8f0SYOSHIFUJI Hideaki
193