162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci====
462306a36Sopenharmony_ciIPv6
562306a36Sopenharmony_ci====
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciOptions for the ipv6 module are supplied as parameters at load time.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciModule options may be given as command line arguments to the insmod
1162306a36Sopenharmony_cior modprobe command, but are usually specified in either
1262306a36Sopenharmony_ci``/etc/modules.d/*.conf`` configuration files, or in a distro-specific
1362306a36Sopenharmony_ciconfiguration file.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciThe available ipv6 module parameters are listed below.  If a parameter
1662306a36Sopenharmony_ciis not specified the default value is used.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciThe parameters are as follows:
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cidisable
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	Specifies whether to load the IPv6 module, but disable all
2362306a36Sopenharmony_ci	its functionality.  This might be used when another module
2462306a36Sopenharmony_ci	has a dependency on the IPv6 module being loaded, but no
2562306a36Sopenharmony_ci	IPv6 addresses or operations are desired.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	The possible values and their effects are:
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci	0
3062306a36Sopenharmony_ci		IPv6 is enabled.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci		This is the default value.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	1
3562306a36Sopenharmony_ci		IPv6 is disabled.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci		No IPv6 addresses will be added to interfaces, and
3862306a36Sopenharmony_ci		it will not be possible to open an IPv6 socket.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci		A reboot is required to enable IPv6.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciautoconf
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	Specifies whether to enable IPv6 address autoconfiguration
4562306a36Sopenharmony_ci	on all interfaces.  This might be used when one does not wish
4662306a36Sopenharmony_ci	for addresses to be automatically generated from prefixes
4762306a36Sopenharmony_ci	received in Router Advertisements.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci	The possible values and their effects are:
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci	0
5262306a36Sopenharmony_ci		IPv6 address autoconfiguration is disabled on all interfaces.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci		Only the IPv6 loopback address (::1) and link-local addresses
5562306a36Sopenharmony_ci		will be added to interfaces.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci	1
5862306a36Sopenharmony_ci		IPv6 address autoconfiguration is enabled on all interfaces.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci		This is the default value.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_cidisable_ipv6
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ci	Specifies whether to disable IPv6 on all interfaces.
6562306a36Sopenharmony_ci	This might be used when no IPv6 addresses are desired.
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ci	The possible values and their effects are:
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ci	0
7062306a36Sopenharmony_ci		IPv6 is enabled on all interfaces.
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ci		This is the default value.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci	1
7562306a36Sopenharmony_ci		IPv6 is disabled on all interfaces.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci		No IPv6 addresses will be added to interfaces.
7862306a36Sopenharmony_ci
79