mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 19:39:07 +00:00
Merge from /nmap-exp/david/nmap-ipv6.
This is raw IPv6 packet support for most port and ping scans, Neighbor Discovery, and traceroute.
This commit is contained in:
@@ -117,6 +117,11 @@ struct probespec_icmpdata {
|
||||
u8 code;
|
||||
};
|
||||
|
||||
struct probespec_icmpv6data {
|
||||
u8 type;
|
||||
u8 code;
|
||||
};
|
||||
|
||||
#define PS_NONE 0
|
||||
#define PS_TCP 1
|
||||
#define PS_UDP 2
|
||||
@@ -125,6 +130,7 @@ struct probespec_icmpdata {
|
||||
#define PS_ARP 5
|
||||
#define PS_CONNECTTCP 6
|
||||
#define PS_SCTP 7
|
||||
#define PS_ICMPV6 8
|
||||
|
||||
/* The size of this structure is critical, since there can be tens of
|
||||
thousands of them stored together ... */
|
||||
@@ -138,6 +144,7 @@ typedef struct probespec {
|
||||
struct probespec_udpdata udp; /* PS_UDP */
|
||||
struct probespec_sctpdata sctp; /* PS_SCTP */
|
||||
struct probespec_icmpdata icmp; /* PS_ICMP */
|
||||
struct probespec_icmpv6data icmpv6; /* PS_ICMPV6 */
|
||||
/* Nothing needed for PS_ARP, since src mac and target IP are
|
||||
avail from target structure anyway */
|
||||
} pd;
|
||||
|
||||
Reference in New Issue
Block a user