mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 16:39:03 +00:00
Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd.
This commit is contained in:
@@ -103,7 +103,7 @@ union icmpv6_msg {
|
||||
memmove(echo_pack_p->icmpv6_data, data, len); \
|
||||
} while (0)
|
||||
|
||||
#define icmpv6_pack_hdr_ns(hdr, targetip, srcmac) do { \
|
||||
#define icmpv6_pack_hdr_ns_mac(hdr, targetip, srcmac) do { \
|
||||
struct icmpv6_msg_nd *nd_pack_p = (struct icmpv6_msg_nd *) \
|
||||
((uint8_t *)(hdr) + ICMPV6_HDR_LEN); \
|
||||
icmpv6_pack_hdr(hdr, ICMPV6_NEIGHBOR_SOLICITATION, 0); \
|
||||
|
||||
Reference in New Issue
Block a user