summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/mld.go
diff options
context:
space:
mode:
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