summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2015-05-11 13:45:14 +0200
committerMichael Brown2015-05-11 13:45:14 +0200
commit86aa959561be5a1cc075c8c60c2f9fdc37ab9272 (patch)
treecf3279e296f4c56166eb9ffe9621fee140e734c8 /src/include
parent[uhci] Use meaningful device names in debug messages (diff)
downloadipxe-86aa959561be5a1cc075c8c60c2f9fdc37ab9272.tar.gz
ipxe-86aa959561be5a1cc075c8c60c2f9fdc37ab9272.tar.xz
ipxe-86aa959561be5a1cc075c8c60c2f9fdc37ab9272.zip
[ipv6] Disambiguate received ICMPv6 errors
Originally-implemented-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/icmpv6.h12
1 files changed, 12 insertions, 0 deletions
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