1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 11:29:01 +00:00

Move constant definitions to the osscan2 header file

This commit is contained in:
luis
2011-07-25 18:30:05 +00:00
parent 5e954c65a9
commit 4faf19f738
2 changed files with 29 additions and 21 deletions

View File

@@ -100,26 +100,6 @@
#include <dnet.h>
#include <list>
#define NUM_FPTESTS 13
/* The number of tries we normally do. This may be increased if
the target looks like a good candidate for fingerprint submission, or fewer
if the user gave the --max-os-tries option */
#define STANDARD_OS2_TRIES 2
// The minimum (and target) amount of time to wait between probes
// sent to a single host, in milliseconds.
#define OS_PROBE_DELAY 25
// The target amount of time to wait between sequencing probes sent to
// a single host, in milliseconds. The ideal is 500ms because of the
// common 2Hz timestamp frequencies. Less than 500ms and we might not
// see any change in the TS counter (and it gets less accurate even if
// we do). More than 500MS and we risk having two changes (and it
// gets less accurate even if we have just one). So we delay 100MS
// between probes, leaving 500MS between 1st and 6th.
#define OS_SEQ_PROBE_DELAY 100
using namespace std;
extern NmapOps o;