1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Add support for decoys in IPv6 closes #433 and fixes #98

This commit is contained in:
abhishek
2016-08-17 06:09:09 +00:00
parent b5606dde91
commit 9d288db7fd
14 changed files with 206 additions and 173 deletions

View File

@@ -205,7 +205,7 @@ class Target {
/* Note that it is OK to pass in a sockaddr_in or sockaddr_in6 casted
to sockaddr_storage */
void setSourceSockAddr(const struct sockaddr_storage *ss, size_t ss_len);
struct in_addr v4source() const;
struct sockaddr_storage source() const;
const struct in_addr *v4sourceip() const;
const struct in6_addr *v6sourceip() const;
/* The IPv4 or IPv6 literal string for the target host */