2 // Code generated by the command above; DO NOT EDIT.
6 // Internet Control Message Protocol (ICMP) Parameters, Updated: 2018-02-26
8 ICMPTypeEchoReply ICMPType = 0 // Echo Reply
9 ICMPTypeDestinationUnreachable ICMPType = 3 // Destination Unreachable
10 ICMPTypeRedirect ICMPType = 5 // Redirect
11 ICMPTypeEcho ICMPType = 8 // Echo
12 ICMPTypeRouterAdvertisement ICMPType = 9 // Router Advertisement
13 ICMPTypeRouterSolicitation ICMPType = 10 // Router Solicitation
14 ICMPTypeTimeExceeded ICMPType = 11 // Time Exceeded
15 ICMPTypeParameterProblem ICMPType = 12 // Parameter Problem
16 ICMPTypeTimestamp ICMPType = 13 // Timestamp
17 ICMPTypeTimestampReply ICMPType = 14 // Timestamp Reply
18 ICMPTypePhoturis ICMPType = 40 // Photuris
19 ICMPTypeExtendedEchoRequest ICMPType = 42 // Extended Echo Request
20 ICMPTypeExtendedEchoReply ICMPType = 43 // Extended Echo Reply
23 // Internet Control Message Protocol (ICMP) Parameters, Updated: 2018-02-26
24 var icmpTypes = map[ICMPType]string{
26 3: "destination unreachable",
29 9: "router advertisement",
30 10: "router solicitation",
32 12: "parameter problem",
34 14: "timestamp reply",
36 42: "extended echo request",
37 43: "extended echo reply",