summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-15 23:40:35 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-15 23:40:35 +0000
commitc02a2af82e1970731cd4f5f1894cc008a29e4c47 (patch)
treee593bd42c22dae90e96cad5415933fb927eabc31 /pkg/abi
parentdc6a11caacaddfc79be4400f83037cb34cbec9a2 (diff)
parentef045b914bc8d9795f9184aed4b13351be70a3cf (diff)
Merge ef045b91 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/socket.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/abi/linux/socket.go b/pkg/abi/linux/socket.go
index 6857a20a3..d5b731390 100644
--- a/pkg/abi/linux/socket.go
+++ b/pkg/abi/linux/socket.go
@@ -292,7 +292,10 @@ const SizeOfLinger = 8
// TCPInfo is a collection of TCP statistics.
//
-// From uapi/linux/tcp.h.
+// From uapi/linux/tcp.h. Newer versions of Linux continue to add new fields to
+// the end of this struct or within existing unusued space, so its size grows
+// over time. The current iteration is based on linux v4.17. New versions are
+// always backwards compatible.
type TCPInfo struct {
State uint8
CaState uint8