1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Add a symbolic constant for INITIAL_ARP_RTT_TIMEOUT.

This commit is contained in:
david
2010-09-17 16:46:09 +00:00
parent c8106e0ef3
commit fc9d35fed9
3 changed files with 3 additions and 2 deletions

1
nmap.h
View File

@@ -320,6 +320,7 @@ void *realloc();
#endif
#define INITIAL_RTT_TIMEOUT 1000 /* Allow 1 second initially for packet responses */
#define INITIAL_ARP_RTT_TIMEOUT 100 /* The initial timeout for ARP is lower */
#ifndef MAX_RETRANSMISSIONS
#define MAX_RETRANSMISSIONS 10 /* 11 probes to port at maximum */