diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-08-13 19:03:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-13 20:05:04 -0400 |
commit | fc4eba58b4c1462ff3d6247b66fb47d6928db6d2 (patch) | |
tree | 94f3e5c02dc7d27c1a851e8c9368081c47d6d38c /Documentation/networking | |
parent | 74c181d528bd8b5989f424a489262d0742ca31ae (diff) |
ipv6: make unsolicited report intervals configurable for mld
Commit cab70040dfd95ee32144f02fade64f0cb94f31a0 ("net: igmp:
Reduce Unsolicited report interval to 1s when using IGMPv3") and
2690048c01f32bf45d1c1e1ab3079bc10ad2aea7 ("net: igmp: Allow user-space
configuration of igmp unsolicited report interval") by William Manley made
igmp unsolicited report intervals configurable per interface and corrected
the interval of unsolicited igmpv3 report messages resendings to 1s.
Same needs to be done for IPv6:
MLDv1 (RFC2710 7.10.): 10 seconds
MLDv2 (RFC3810 9.11.): 1 second
Both intervals are configurable via new procfs knobs
mldv1_unsolicited_report_interval and mldv2_unsolicited_report_interval.
(also added .force_mld_version to ipv6_devconf_dflt to bring structs in
line without semantic changes)
v2:
a) Joined documentation update for IPv4 and IPv6 MLD/IGMP
unsolicited_report_interval procfs knobs.
b) incorporate stylistic feedback from William Manley
v3:
a) add new DEVCONF_* values to the end of the enum (thanks to David
Miller)
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: William Manley <william.manley@youview.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 36be26b2ef7a..debfe857d8f9 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -1039,7 +1039,15 @@ disable_policy - BOOLEAN | |||
1039 | disable_xfrm - BOOLEAN | 1039 | disable_xfrm - BOOLEAN |
1040 | Disable IPSEC encryption on this interface, whatever the policy | 1040 | Disable IPSEC encryption on this interface, whatever the policy |
1041 | 1041 | ||
1042 | igmpv2_unsolicited_report_interval - INTEGER | ||
1043 | The interval in milliseconds in which the next unsolicited | ||
1044 | IGMPv1 or IGMPv2 report retransmit will take place. | ||
1045 | Default: 10000 (10 seconds) | ||
1042 | 1046 | ||
1047 | igmpv3_unsolicited_report_interval - INTEGER | ||
1048 | The interval in milliseconds in which the next unsolicited | ||
1049 | IGMPv3 report retransmit will take place. | ||
1050 | Default: 1000 (1 seconds) | ||
1043 | 1051 | ||
1044 | tag - INTEGER | 1052 | tag - INTEGER |
1045 | Allows you to write a number, which can be used as required. | 1053 | Allows you to write a number, which can be used as required. |
@@ -1331,6 +1339,16 @@ ndisc_notify - BOOLEAN | |||
1331 | 1 - Generate unsolicited neighbour advertisements when device is brought | 1339 | 1 - Generate unsolicited neighbour advertisements when device is brought |
1332 | up or hardware address changes. | 1340 | up or hardware address changes. |
1333 | 1341 | ||
1342 | mldv1_unsolicited_report_interval - INTEGER | ||
1343 | The interval in milliseconds in which the next unsolicited | ||
1344 | MLDv1 report retransmit will take place. | ||
1345 | Default: 10000 (10 seconds) | ||
1346 | |||
1347 | mldv2_unsolicited_report_interval - INTEGER | ||
1348 | The interval in milliseconds in which the next unsolicited | ||
1349 | MLDv2 report retransmit will take place. | ||
1350 | Default: 1000 (1 second) | ||
1351 | |||
1334 | icmp/*: | 1352 | icmp/*: |
1335 | ratelimit - INTEGER | 1353 | ratelimit - INTEGER |
1336 | Limit the maximal rates for sending ICMPv6 packets. | 1354 | Limit the maximal rates for sending ICMPv6 packets. |