From 86aa959561be5a1cc075c8c60c2f9fdc37ab9272 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 11 May 2015 12:45:14 +0100 Subject: [ipv6] Disambiguate received ICMPv6 errors Originally-implemented-by: Hannes Reinecke Signed-off-by: Michael Brown --- src/include/ipxe/icmpv6.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/icmpv6.h b/src/include/ipxe/icmpv6.h index db5bec2d..0474ddca 100644 --- a/src/include/ipxe/icmpv6.h +++ b/src/include/ipxe/icmpv6.h @@ -40,6 +40,18 @@ struct icmpv6_handler { /** Declare an ICMPv6 handler */ #define __icmpv6_handler __table_entry ( ICMPV6_HANDLERS, 01 ) +/** ICMPv6 destination unreachable */ +#define ICMPV6_DESTINATION_UNREACHABLE 1 + +/** ICMPv6 packet too big */ +#define ICMPV6_PACKET_TOO_BIG 2 + +/** ICMPv6 time exceeded */ +#define ICMPV6_TIME_EXCEEDED 3 + +/** ICMPv6 parameter problem */ +#define ICMPV6_PARAMETER_PROBLEM 4 + /** ICMPv6 echo request */ #define ICMPV6_ECHO_REQUEST 128 -- cgit v1.2.3-55-g7522