mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Reduce work spent checking outstanding probes in raw scans
This commit is contained in:
@@ -201,6 +201,9 @@ public:
|
||||
return tryno == this->tryno.opaque;
|
||||
}
|
||||
|
||||
/* Helper for checking protocol/port match from a packet. */
|
||||
bool check_proto_port(u8 proto, u16 sport_or_icmpid, u16 dport) const;
|
||||
|
||||
/* tryno/pingseq, depending on what type of probe this is (ping vs scanprobe) */
|
||||
tryno_t tryno; /* Try (retransmission) number of this probe */
|
||||
/* If true, probe is considered no longer active due to timeout, but it
|
||||
|
||||
Reference in New Issue
Block a user