mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
Minor style changes
This commit is contained in:
33
osscan2.h
33
osscan2.h
@@ -133,30 +133,31 @@ class Target;
|
|||||||
|
|
||||||
/* Performance tuning variable. */
|
/* Performance tuning variable. */
|
||||||
typedef struct os_scan_performance_vars {
|
typedef struct os_scan_performance_vars {
|
||||||
int low_cwnd; /* The lowest cwnd (congestion window) allowed */
|
int low_cwnd; /* The lowest cwnd (congestion window) allowed */
|
||||||
int host_initial_cwnd; /* Initial congestion window for ind. hosts */
|
int host_initial_cwnd; /* Initial congestion window for ind. hosts */
|
||||||
int group_initial_cwnd; /* Initial congestion window for all hosts as a group */
|
int group_initial_cwnd; /* Initial congestion window for all hosts as a group */
|
||||||
int max_cwnd; /* I should never have more than this many probes
|
int max_cwnd; /* We should never have more than this many probes
|
||||||
outstanding */
|
outstanding */
|
||||||
int quick_incr; /* How many probes are incremented for each response
|
int quick_incr; /* How many probes are incremented for each response
|
||||||
in quick start mode */
|
in quick start mode */
|
||||||
int cc_incr; /* How many probes are incremented per (roughly) rtt in
|
int cc_incr; /* How many probes are incremented per (roughly) rtt in
|
||||||
congestion control mode */
|
congestion control mode */
|
||||||
int initial_ccthresh;
|
int initial_ccthresh;
|
||||||
double group_drop_cwnd_divisor; /* all-host group cwnd divided by this
|
double group_drop_cwnd_divisor; /* all-host group cwnd divided by this
|
||||||
value if any packet drop occurs */
|
value if any packet drop occurs */
|
||||||
double group_drop_ccthresh_divisor; /* used to drop the group ccthresh when
|
double group_drop_ccthresh_divisor; /* used to drop the group ccthresh when
|
||||||
any drop occurs */
|
any drop occurs */
|
||||||
double host_drop_ccthresh_divisor; /* used to drop the host ccthresh when
|
double host_drop_ccthresh_divisor; /* used to drop the host ccthresh when
|
||||||
any drop occurs */
|
any drop occurs */
|
||||||
} os_scan_performance_vars_t;
|
} os_scan_performance_vars_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Some of the algorithms used here are TCP congestion control
|
/* Some of the algorithms used here are TCP congestion control techniques from RFC2581. */
|
||||||
techniques from RFC2581. */
|
|
||||||
typedef struct osscan_timing_vals {
|
typedef struct osscan_timing_vals {
|
||||||
double cwnd; /* Congestion window - in probes */
|
|
||||||
|
/* Congestion window - in probes */
|
||||||
|
double cwnd;
|
||||||
|
|
||||||
/* The threshold after which mode is changed from QUICK_START to
|
/* The threshold after which mode is changed from QUICK_START to
|
||||||
CONGESTION_CONTROL */
|
CONGESTION_CONTROL */
|
||||||
|
|||||||
Reference in New Issue
Block a user