summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2012-03-19 10:00:33 -0700
committerSam Roberts <vieuxtech@gmail.com>2012-03-19 10:00:33 -0700
commitc7dffedd2377ee4d75e084224965f599ff5348a0 (patch)
tree3688162bb6cb93fcf0303d61ecb2e7e89185795b
parent292b998e45220cd2065712a14dde609d11d99c0a (diff)
downloadlibnet-c7dffedd2377ee4d75e084224965f599ff5348a0.tar.gz
ICMPv6 pblock sizes are needed to calculate IPv6's ip_len (reported by sickmind@lavabit.com)
-rw-r--r--libnet/include/libnet/libnet-headers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnet/include/libnet/libnet-headers.h b/libnet/include/libnet/libnet-headers.h
index 3b908d7..3ecbd18 100644
--- a/libnet/include/libnet/libnet-headers.h
+++ b/libnet/include/libnet/libnet-headers.h
@@ -66,6 +66,10 @@
#define LIBNET_ICMPV6_COMMON_H 0x04 /**< ICMP6 header base: 4 bytes */
#define LIBNET_ICMPV6_H 0x08 /**< ICMP6 header base: 8 bytes (unused, for backwards compatibility) */
#define LIBNET_ICMPV6_UNREACH_H 0x08 /**< ICMP6 unreach base: 8 bytes */
+#define LIBNET_ICMPV6_ECHO_H 0x08 /**< ICMP6 echo: 8 bytes */
+#define LIBNET_ICMPV6_NDP_NSOL_H 24 /**< ICMP6 NDP NSOL: 24 bytes */
+#define LIBNET_ICMPV6_NDP_NADV_H 24 /**< ICMP6 NDP NADV: 24 bytes */
+#define LIBNET_ICMPV6_NDP_OPT_H 0x02 /**< ICMP6 NDP OPT base: 2 bytes */
#define LIBNET_IGMP_H 0x08 /**< IGMP header: 8 bytes */
#define LIBNET_IPV4_H 0x14 /**< IPv4 header: 20 bytes */
#define LIBNET_IPV6_H 0x28 /**< IPv6 header: 40 bytes */