summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/packet_buffer.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-11 13:13:54 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-11 13:13:54 +0000
commitc0cc75eccc47faeaec8dc03c147850ddf637bf85 (patch)
tree89921404704339b02cfd0b5e5c9e0db6d24082cb /pkg/tcpip/packet_buffer.go
parent1041d6c67e6406e5a9780934a1c3e6786f214cb6 (diff)
parent7bca09107b4efc0a7f36f932612061f13a146d6f (diff)
Merge release-20200219.0-137-g7bca091 (automated)
Diffstat (limited to 'pkg/tcpip/packet_buffer.go')
-rwxr-xr-xpkg/tcpip/packet_buffer.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkg/tcpip/packet_buffer.go b/pkg/tcpip/packet_buffer.go
index 04852132c..ab24372e7 100755
--- a/pkg/tcpip/packet_buffer.go
+++ b/pkg/tcpip/packet_buffer.go
@@ -39,12 +39,8 @@ type PacketBuffer struct {
// payload.
DataSize int
- // Header holds the headers of outbound packets generated by the netstack. As
- // a packet is passed down the stack, each layer adds to Header.
- //
- // Note, if a packet is being forwarded at the IP layer, the headers for the
- // IP layer and above (transport) will be held in Data as the packet was not
- // passed down the stack it arrived at before being forwarded.
+ // Header holds the headers of outbound packets. As a packet is passed
+ // down the stack, each layer adds to Header.
Header buffer.Prependable
// These fields are used by both inbound and outbound packets. They