summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/tcp.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/tcp.go')
-rw-r--r--pkg/abi/linux/tcp.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/abi/linux/tcp.go b/pkg/abi/linux/tcp.go
index 2a8d4708b..1a3c0916f 100644
--- a/pkg/abi/linux/tcp.go
+++ b/pkg/abi/linux/tcp.go
@@ -59,3 +59,12 @@ const (
MAX_TCP_KEEPINTVL = 32767
MAX_TCP_KEEPCNT = 127
)
+
+// Congestion control states from include/uapi/linux/tcp.h.
+const (
+ TCP_CA_Open = 0
+ TCP_CA_Disorder = 1
+ TCP_CA_CWR = 2
+ TCP_CA_Recovery = 3
+ TCP_CA_Loss = 4
+)