summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/mld.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-26 02:03:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-26 02:03:52 +0000
commit3927c666bb886f7aceb0c6d369a0fda2f14d6616 (patch)
tree318bf857949e11d1764914418f7a23bd7f102a3b /pkg/tcpip/header/mld.go
parent2442e44c4b5642796de0687d024fbaf77178cb4e (diff)
parentbc81fccedae4c66e61a6b62eac44dd11fae413ac (diff)
Merge release-20201109.0-118-gbc81fcced (automated)
Diffstat (limited to 'pkg/tcpip/header/mld.go')
-rw-r--r--pkg/tcpip/header/mld.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/tcpip/header/mld.go b/pkg/tcpip/header/mld.go
index f70623092..ffe03c76a 100644
--- a/pkg/tcpip/header/mld.go
+++ b/pkg/tcpip/header/mld.go
@@ -23,6 +23,13 @@ import (
)
const (
+ // MLDMinimumSize is the minimum size for an MLD message.
+ MLDMinimumSize = 20
+
+ // MLDHopLimit is the Hop Limit for all IPv6 packets with an MLD message, as
+ // per RFC 2710 section 3.
+ MLDHopLimit = 1
+
// mldMaximumResponseDelayOffset is the offset to the Maximum Response Delay
// field within MLD.
mldMaximumResponseDelayOffset = 0