summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/ipv6.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-09 20:31:27 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-09 20:31:27 +0000
commit474d9ad22ee8bab2982eb9c89c421235b687c513 (patch)
tree840a697941fdc84af8f63ab39ebaf820ffdc7df7 /pkg/tcpip/header/ipv6.go
parent23a1fde981f1c390df5e6536566149f89a3b37fd (diff)
parent6af9a9850aff75e15c6f9ab577af5b818531d6ee (diff)
Merge 6af9a985 (automated)
Diffstat (limited to 'pkg/tcpip/header/ipv6.go')
-rw-r--r--pkg/tcpip/header/ipv6.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/tcpip/header/ipv6.go b/pkg/tcpip/header/ipv6.go
index 093850e25..e606e3463 100644
--- a/pkg/tcpip/header/ipv6.go
+++ b/pkg/tcpip/header/ipv6.go
@@ -76,6 +76,13 @@ const (
// IPv6Version is the version of the ipv6 protocol.
IPv6Version = 6
+ // IPv6AllNodesMulticastAddress is a link-local multicast group that
+ // all IPv6 nodes MUST join, as per RFC 4291, section 2.8. Packets
+ // destined to this address will reach all nodes on a link.
+ //
+ // The address is ff02::1.
+ IPv6AllNodesMulticastAddress tcpip.Address = "\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"
+
// IPv6MinimumMTU is the minimum MTU required by IPv6, per RFC 2460,
// section 5.
IPv6MinimumMTU = 1280