mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 21:59:02 +00:00
Merging from nmap-exp/colin/nmap-addrset, nmap-exp/colin/nbase-addrset, and /nmap-exp/colin/ncat-addrset
Ported addrset from ncat to nbase. Made --exclude and --exclude-file options use addrset. As a side effect IPv6 Excludes work.
This commit is contained in:
@@ -154,15 +154,14 @@ struct pingtech {
|
||||
rawprotoscan: 1;
|
||||
};
|
||||
|
||||
|
||||
/* Ports is the list of ports the user asked to be scanned (0 terminated),
|
||||
you can just pass NULL (it is only a stupid optimization that needs it) */
|
||||
Target *nexthost(HostGroupState *hs, TargetGroup *exclude_group,
|
||||
Target *nexthost(HostGroupState *hs,const addrset *exclude_group,
|
||||
struct scan_lists *ports, int pingtype);
|
||||
TargetGroup* load_exclude_file(FILE *fp);
|
||||
TargetGroup* load_exclude_string(const char *s);
|
||||
int load_exclude_file(addrset *exclude_group, FILE *fp);
|
||||
int load_exclude_string(addrset *exclude_group, const char *s);
|
||||
/* a debugging routine to dump an exclude list to stdout. */
|
||||
int dumpExclude(TargetGroup*exclude_group);
|
||||
int dumpExclude(addrset *exclude_group);
|
||||
/* Returns the last host obtained by nexthost. It will be given again the next
|
||||
time you call nexthost(). */
|
||||
void returnhost(HostGroupState *hs);
|
||||
|
||||
Reference in New Issue
Block a user