iana.go 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // go generate gen.go
  2. // Code generated by the command above; DO NOT EDIT.
  3. package ipv6
  4. // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2018-03-09
  5. const (
  6. ICMPTypeDestinationUnreachable ICMPType = 1 // Destination Unreachable
  7. ICMPTypePacketTooBig ICMPType = 2 // Packet Too Big
  8. ICMPTypeTimeExceeded ICMPType = 3 // Time Exceeded
  9. ICMPTypeParameterProblem ICMPType = 4 // Parameter Problem
  10. ICMPTypeEchoRequest ICMPType = 128 // Echo Request
  11. ICMPTypeEchoReply ICMPType = 129 // Echo Reply
  12. ICMPTypeMulticastListenerQuery ICMPType = 130 // Multicast Listener Query
  13. ICMPTypeMulticastListenerReport ICMPType = 131 // Multicast Listener Report
  14. ICMPTypeMulticastListenerDone ICMPType = 132 // Multicast Listener Done
  15. ICMPTypeRouterSolicitation ICMPType = 133 // Router Solicitation
  16. ICMPTypeRouterAdvertisement ICMPType = 134 // Router Advertisement
  17. ICMPTypeNeighborSolicitation ICMPType = 135 // Neighbor Solicitation
  18. ICMPTypeNeighborAdvertisement ICMPType = 136 // Neighbor Advertisement
  19. ICMPTypeRedirect ICMPType = 137 // Redirect Message
  20. ICMPTypeRouterRenumbering ICMPType = 138 // Router Renumbering
  21. ICMPTypeNodeInformationQuery ICMPType = 139 // ICMP Node Information Query
  22. ICMPTypeNodeInformationResponse ICMPType = 140 // ICMP Node Information Response
  23. ICMPTypeInverseNeighborDiscoverySolicitation ICMPType = 141 // Inverse Neighbor Discovery Solicitation Message
  24. ICMPTypeInverseNeighborDiscoveryAdvertisement ICMPType = 142 // Inverse Neighbor Discovery Advertisement Message
  25. ICMPTypeVersion2MulticastListenerReport ICMPType = 143 // Version 2 Multicast Listener Report
  26. ICMPTypeHomeAgentAddressDiscoveryRequest ICMPType = 144 // Home Agent Address Discovery Request Message
  27. ICMPTypeHomeAgentAddressDiscoveryReply ICMPType = 145 // Home Agent Address Discovery Reply Message
  28. ICMPTypeMobilePrefixSolicitation ICMPType = 146 // Mobile Prefix Solicitation
  29. ICMPTypeMobilePrefixAdvertisement ICMPType = 147 // Mobile Prefix Advertisement
  30. ICMPTypeCertificationPathSolicitation ICMPType = 148 // Certification Path Solicitation Message
  31. ICMPTypeCertificationPathAdvertisement ICMPType = 149 // Certification Path Advertisement Message
  32. ICMPTypeMulticastRouterAdvertisement ICMPType = 151 // Multicast Router Advertisement
  33. ICMPTypeMulticastRouterSolicitation ICMPType = 152 // Multicast Router Solicitation
  34. ICMPTypeMulticastRouterTermination ICMPType = 153 // Multicast Router Termination
  35. ICMPTypeFMIPv6 ICMPType = 154 // FMIPv6 Messages
  36. ICMPTypeRPLControl ICMPType = 155 // RPL Control Message
  37. ICMPTypeILNPv6LocatorUpdate ICMPType = 156 // ILNPv6 Locator Update Message
  38. ICMPTypeDuplicateAddressRequest ICMPType = 157 // Duplicate Address Request
  39. ICMPTypeDuplicateAddressConfirmation ICMPType = 158 // Duplicate Address Confirmation
  40. ICMPTypeMPLControl ICMPType = 159 // MPL Control Message
  41. ICMPTypeExtendedEchoRequest ICMPType = 160 // Extended Echo Request
  42. ICMPTypeExtendedEchoReply ICMPType = 161 // Extended Echo Reply
  43. )
  44. // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2018-03-09
  45. var icmpTypes = map[ICMPType]string{
  46. 1: "destination unreachable",
  47. 2: "packet too big",
  48. 3: "time exceeded",
  49. 4: "parameter problem",
  50. 128: "echo request",
  51. 129: "echo reply",
  52. 130: "multicast listener query",
  53. 131: "multicast listener report",
  54. 132: "multicast listener done",
  55. 133: "router solicitation",
  56. 134: "router advertisement",
  57. 135: "neighbor solicitation",
  58. 136: "neighbor advertisement",
  59. 137: "redirect message",
  60. 138: "router renumbering",
  61. 139: "icmp node information query",
  62. 140: "icmp node information response",
  63. 141: "inverse neighbor discovery solicitation message",
  64. 142: "inverse neighbor discovery advertisement message",
  65. 143: "version 2 multicast listener report",
  66. 144: "home agent address discovery request message",
  67. 145: "home agent address discovery reply message",
  68. 146: "mobile prefix solicitation",
  69. 147: "mobile prefix advertisement",
  70. 148: "certification path solicitation message",
  71. 149: "certification path advertisement message",
  72. 151: "multicast router advertisement",
  73. 152: "multicast router solicitation",
  74. 153: "multicast router termination",
  75. 154: "fmipv6 messages",
  76. 155: "rpl control message",
  77. 156: "ilnpv6 locator update message",
  78. 157: "duplicate address request",
  79. 158: "duplicate address confirmation",
  80. 159: "mpl control message",
  81. 160: "extended echo request",
  82. 161: "extended echo reply",
  83. }