diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2011-11-20 13:23:15 +0000 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-03-05 13:32:22 -0800 |
commit | 29e72f7ad1ecf82a8fb5c33786dfe6b4cad4ac9b (patch) | |
tree | cf25322e3aee3aa86e1edabb25f5f1bb33bae8b1 /libnet/include/libnet/libnet-structures.h | |
parent | 508502b8eef27ca194e57f6144d9ad43809154a9 (diff) | |
download | libnet-29e72f7ad1ecf82a8fb5c33786dfe6b4cad4ac9b.tar.gz |
Reworked icmpv6 patch to parallel the form of icmpv4 support.
Use same calling sequences, identifier names modelled on
<netinet/icmp6.h>, etc.
Diffstat (limited to 'libnet/include/libnet/libnet-structures.h')
-rw-r--r-- | libnet/include/libnet/libnet-structures.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libnet/include/libnet/libnet-structures.h b/libnet/include/libnet/libnet-structures.h index 831999e..bd7b55b 100644 --- a/libnet/include/libnet/libnet-structures.h +++ b/libnet/include/libnet/libnet-structures.h @@ -158,12 +158,12 @@ struct libnet_protocol_block #define LIBNET_PBLOCK_IPV6_HBHOPTS_H 0x3e /* IPv6 hop/hop opts header */ #define LIBNET_PBLOCK_SEBEK_H 0x3f /* Sebek header */ #define LIBNET_PBLOCK_HSRP_H 0x40 /* HSRP header */ -#define LIBNET_PBLOCK_ICMPV6_H 0x41 /* ICMPv6 header */ -#define LIBNET_PBLOCK_ICMPV6_UNREACH_H 0x42 /* ICMPv6 unreach header */ -#define LIBNET_PBLOCK_ICMPV6_NDNSOL_H 0x43 /* ICMPv6 neighbor solicitation header */ -#define LIBNET_PBLOCK_ICMPV6_NDNADV_H 0x44 /* ICMPv6 neighbor adv header */ -#define LIBNET_PBLOCK_ICMPV6_NDPOPT_H 0x45 /* ICMPv6 NDP option */ +#define LIBNET_PBLOCK_ICMPV6_H 0x41 /* ICMPv6 header (unused) */ #define LIBNET_PBLOCK_ICMPV6_ECHO_H 0x46 /* ICMPv6 echo header */ +#define LIBNET_PBLOCK_ICMPV6_UNREACH_H 0x42 /* ICMPv6 unreach header */ +#define LIBNET_PBLOCK_ICMPV6_NDP_NSOL_H 0x43 /* ICMPv6 NDP neighbor solicitation header */ +#define LIBNET_PBLOCK_ICMPV6_NDP_NADV_H 0x44 /* ICMPv6 NDP neighbor advertisement header */ +#define LIBNET_PBLOCK_ICMPV6_NDP_OPT_H 0x45 /* ICMPv6 NDP option */ uint8_t flags; /* control flags */ #define LIBNET_PBLOCK_DO_CHECKSUM 0x01 /* needs a checksum */ |