summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/icmpv4.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-23 13:25:33 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-23 13:25:33 -0700
commitfc26b3764ecfe4f5a5eb7826a9fb46626738b391 (patch)
treec43fdaefe2c8f14d39da88cb4b4dc39b0b90c5f6 /pkg/tcpip/header/icmpv4.go
parent20b556e625354dd8330e30e4075ad06eedc6a2ce (diff)
parentfb8be7e6273f5a646cdf48e38743a2507a4bf64f (diff)
Merge pull request #3207 from kevinGC:icmp-connect
PiperOrigin-RevId: 322853192
Diffstat (limited to 'pkg/tcpip/header/icmpv4.go')
-rw-r--r--pkg/tcpip/header/icmpv4.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/header/icmpv4.go b/pkg/tcpip/header/icmpv4.go
index 7908c5744..1a631b31a 100644
--- a/pkg/tcpip/header/icmpv4.go
+++ b/pkg/tcpip/header/icmpv4.go
@@ -72,6 +72,7 @@ const (
// Values for ICMP code as defined in RFC 792.
const (
ICMPv4TTLExceeded = 0
+ ICMPv4HostUnreachable = 1
ICMPv4PortUnreachable = 3
ICMPv4FragmentationNeeded = 4
)