diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-05-11 12:45:14 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-05-11 12:45:14 +0100 |
commit | 86aa959561be5a1cc075c8c60c2f9fdc37ab9272 (patch) | |
tree | cf3279e296f4c56166eb9ffe9621fee140e734c8 /src/include | |
parent | bb6d7bebe95b619f6d0fe9066016b5020f381032 (diff) | |
download | ipxe-86aa959561be5a1cc075c8c60c2f9fdc37ab9272.tar.gz |
[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.h | 12 |
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 |