From 660c91ee5789bb44d891bb40051a18fa9b6ca21c Mon Sep 17 00:00:00 2001 From: luis Date: Mon, 25 Jul 2011 18:39:54 +0000 Subject: [PATCH] Minor style changes --- osscan2.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/osscan2.h b/osscan2.h index d5aa869e1..d60be313d 100644 --- a/osscan2.h +++ b/osscan2.h @@ -133,30 +133,31 @@ class Target; /* Performance tuning variable. */ typedef struct os_scan_performance_vars { - int low_cwnd; /* The lowest cwnd (congestion window) allowed */ - int host_initial_cwnd; /* Initial congestion window for ind. hosts */ - 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 - outstanding */ - int quick_incr; /* How many probes are incremented for each response - in quick start mode */ - int cc_incr; /* How many probes are incremented per (roughly) rtt in - congestion control mode */ + int low_cwnd; /* The lowest cwnd (congestion window) allowed */ + int host_initial_cwnd; /* Initial congestion window for ind. hosts */ + int group_initial_cwnd; /* Initial congestion window for all hosts as a group */ + int max_cwnd; /* We should never have more than this many probes + outstanding */ + int quick_incr; /* How many probes are incremented for each response + in quick start mode */ + int cc_incr; /* How many probes are incremented per (roughly) rtt in + congestion control mode */ int initial_ccthresh; - double group_drop_cwnd_divisor; /* all-host group cwnd divided by this - value if any packet drop occurs */ + double group_drop_cwnd_divisor; /* all-host group cwnd divided by this + value if any packet drop occurs */ double group_drop_ccthresh_divisor; /* used to drop the group ccthresh when any drop occurs */ - double host_drop_ccthresh_divisor; /* used to drop the host ccthresh when - any drop occurs */ + double host_drop_ccthresh_divisor; /* used to drop the host ccthresh when + any drop occurs */ } os_scan_performance_vars_t; -/* Some of the algorithms used here are TCP congestion control - techniques from RFC2581. */ +/* Some of the algorithms used here are TCP congestion control techniques from RFC2581. */ 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 CONGESTION_CONTROL */