Skip to content

Commit f168db5

Browse files
qsndavem330
authored andcommitted
Documentation: ip-sysctl.txt: document addr_gen_mode
addr_gen_mode was introduced in without documentation, add it now. Fixes: d35a00b ("net/ipv6: allow sysctl to change link-local address generation mode") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f24c598 commit f168db5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,6 +1834,16 @@ stable_secret - IPv6 address
18341834

18351835
By default the stable secret is unset.
18361836

1837+
addr_gen_mode - INTEGER
1838+
Defines how link-local and autoconf addresses are generated.
1839+
1840+
0: generate address based on EUI64 (default)
1841+
1: do no generate a link-local address, use EUI64 for addresses generated
1842+
from autoconf
1843+
2: generate stable privacy addresses, using the secret from
1844+
stable_secret (RFC7217)
1845+
3: generate stable privacy addresses, using a random secret if unset
1846+
18371847
drop_unicast_in_l2_multicast - BOOLEAN
18381848
Drop any unicast IPv6 packets that are received in link-layer
18391849
multicast (or broadcast) frames.

0 commit comments

Comments
 (0)