aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_stacks/tcp_bbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_stacks/tcp_bbr.h')
-rw-r--r--sys/netinet/tcp_stacks/tcp_bbr.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/netinet/tcp_stacks/tcp_bbr.h b/sys/netinet/tcp_stacks/tcp_bbr.h
index 0ba22e17e4f2..30b897cff218 100644
--- a/sys/netinet/tcp_stacks/tcp_bbr.h
+++ b/sys/netinet/tcp_stacks/tcp_bbr.h
@@ -226,7 +226,6 @@ struct bbr_rtt_sample {
#define BBR_RT_SET_GRADIENT 0x200
#define BBR_RT_TS_VALID 0x400
-
struct bbr_log {
union {
struct bbr_sendmap *rsm; /* For alloc/free */
@@ -294,7 +293,6 @@ struct bbr_log_sysctl_out {
#define BBR_SEES_STRETCH_ACK 1
#define BBR_SEES_COMPRESSED_ACKS 2
-
/*
* As we get each SACK we wade through the
* rc_map and mark off what is acked.
@@ -345,7 +343,6 @@ struct bbr_log_sysctl_out {
#define BBR_TIME_TO_SECONDS(a) (a / USECS_IN_SECOND)
#define BBR_TIME_TO_MILLI(a) (a / MS_IN_USEC)
-
/* BBR keeps time in usec's so we divide by 1000 and round up */
#define BBR_TS_TO_MS(t) ((t+999)/MS_IN_USEC)
@@ -504,7 +501,6 @@ struct bbr_opts_stats {
uint64_t tcp_policer_det;
};
-
#ifdef _KERNEL
#define BBR_STAT_SIZE (sizeof(struct bbr_stats)/sizeof(uint64_t))
extern counter_u64_t bbr_stat_arry[BBR_STAT_SIZE];
@@ -524,7 +520,6 @@ extern counter_u64_t bbr_opts_arry[BBR_OPTS_SIZE];
#define BBR_RECOVERY_HIGHRTT 3
#define BBR_RECOVERY_EXTREMERTT 4
-
struct bbr_control {
/*******************************/
/* Cache line 2 from bbr start */
@@ -561,7 +556,6 @@ struct bbr_control {
uint32_t cur_rtt; /* Last RTT from ack */
-
uint32_t rc_went_idle_time; /* Used for persits to see if its
* probe-rtt qualified */
uint32_t rc_pace_max_segs:17, /* How much in any single TSO we send Lock(a) */
@@ -580,7 +574,6 @@ struct bbr_control {
* pkt-epoch */
uint32_t r_measurement_count; /* count of measurement applied lock(a) */
-
uint32_t rc_last_tlp_seq; /* Last tlp sequence Lock(a) */
uint16_t rc_reorder_shift; /* Socket option value Lock(a) */
uint16_t rc_pkt_delay; /* Socket option value Lock(a) */
@@ -664,7 +657,6 @@ struct bbr_control {
uint64_t rc_bbr_lastbtlbw; /* For startup, what was last btlbw I
* saw to check the 20% gain Lock(a) */
-
uint32_t rc_bbr_cwnd_gain; /* Current cwnd gain Lock(a) */
uint32_t rc_pkt_epoch_loss_rate; /* pkt-epoch loss rate */
@@ -740,7 +732,6 @@ struct bbr_control {
};
-
struct socket;
struct tcp_bbr {
/* First cache line 0x00 */