summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-23 20:28:10 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-23 20:28:10 +0000
commitf9bfad6ab765dc4de1be6ed04048f8c6374a2a97 (patch)
tree9656eee8a90d1a5c1bcdd30dab1c2cb8d5640ab5 /pkg/tcpip/stack
parent0db3b8663c5e94284254ce60244197313f1e4fc2 (diff)
parentfc26b3764ecfe4f5a5eb7826a9fb46626738b391 (diff)
Merge release-20200622.1-198-gfc26b3764 (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/registration.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go
index cd4b7a449..9e1b2d25f 100644
--- a/pkg/tcpip/stack/registration.go
+++ b/pkg/tcpip/stack/registration.go
@@ -52,8 +52,11 @@ type TransportEndpointID struct {
type ControlType int
// The following are the allowed values for ControlType values.
+// TODO(http://gvisor.dev/issue/3210): Support time exceeded messages.
const (
- ControlPacketTooBig ControlType = iota
+ ControlNetworkUnreachable ControlType = iota
+ ControlNoRoute
+ ControlPacketTooBig
ControlPortUnreachable
ControlUnknown
)