diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-28 00:23:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-28 00:23:20 +0000 |
commit | e93dcad543b488f8aa770a6ff7eb0b25ac3faf56 (patch) | |
tree | 71de4b074d865c13ad1f43cf254a411565f13ad9 /pkg/abi/linux | |
parent | be3d0b85b9d043b1a69192bfc5e5530887c5c39c (diff) | |
parent | 684f757a228f88e5fabe6ebe6ed54f0db20fd63d (diff) |
Merge release-20191114.0-41-g684f757 (automated)
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r-- | pkg/abi/linux/socket.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/abi/linux/socket.go b/pkg/abi/linux/socket.go index 2e2cc6be7..766ee4014 100644 --- a/pkg/abi/linux/socket.go +++ b/pkg/abi/linux/socket.go @@ -422,6 +422,15 @@ type ControlMessageRights []int32 // ControlMessageRights. const SizeOfControlMessageRight = 4 +// SizeOfControlMessageInq is the size of a TCP_INQ control message. +const SizeOfControlMessageInq = 4 + +// SizeOfControlMessageTOS is the size of an IP_TOS control message. +const SizeOfControlMessageTOS = 1 + +// SizeOfControlMessageTClass is the size of an IPV6_TCLASS control message. +const SizeOfControlMessageTClass = 4 + // SCM_MAX_FD is the maximum number of FDs accepted in a single sendmsg call. // From net/scm.h. const SCM_MAX_FD = 253 |