summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-03 01:32:31 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-03 01:32:31 +0000
commitb47ca9ab2fe0594ba11bcaa42af0a333832c7136 (patch)
tree384cc6d1e4b79900b4dd0437e19d6c36d5d00020 /pkg/tcpip/header
parentde9a4ab98af79f60294c246941599901763b83e1 (diff)
parent4582a2f188953d34591aef1a479d19d9be8f640f (diff)
Merge release-20200323.0-61-g4582a2f (automated)
Diffstat (limited to 'pkg/tcpip/header')
-rwxr-xr-xpkg/tcpip/header/ipv6_extension_headers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/header/ipv6_extension_headers.go b/pkg/tcpip/header/ipv6_extension_headers.go
index 1b6c3f328..82485ed6a 100755
--- a/pkg/tcpip/header/ipv6_extension_headers.go
+++ b/pkg/tcpip/header/ipv6_extension_headers.go
@@ -62,6 +62,10 @@ const (
// within an IPv6RoutingExtHdr.
ipv6RoutingExtHdrSegmentsLeftIdx = 1
+ // IPv6FragmentExtHdrLength is the length of an IPv6 extension header, in
+ // bytes.
+ IPv6FragmentExtHdrLength = 8
+
// ipv6FragmentExtHdrFragmentOffsetOffset is the offset to the start of the
// Fragment Offset field within an IPv6FragmentExtHdr.
ipv6FragmentExtHdrFragmentOffsetOffset = 0