diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-03-19 10:00:33 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-03-19 10:00:33 -0700 |
commit | c7dffedd2377ee4d75e084224965f599ff5348a0 (patch) | |
tree | 3688162bb6cb93fcf0303d61ecb2e7e89185795b | |
parent | 292b998e45220cd2065712a14dde609d11d99c0a (diff) | |
download | libnet-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.h | 4 |
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 */ |