aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2019-09-06 18:29:48 +0000
committerRandall Stewart <rrs@FreeBSD.org>2019-09-06 18:29:48 +0000
commitaf9b9e0d9f43509208dcacd051520b226abdf111 (patch)
treedfda6049a6614cd9ef6ed3c82bffba0f64044b12 /sys/netinet/tcp_var.h
parent82e837f803bf3af768de1d37dca1bfebf2d955d4 (diff)
downloadsrc-af9b9e0d9f43509208dcacd051520b226abdf111.tar.gz
src-af9b9e0d9f43509208dcacd051520b226abdf111.zip
This adds in the missing counter initialization which
I had forgotten to bring over.. opps. Differential Revision: https://reviews.freebsd.org/D21127
Notes
Notes: svn path=/head/; revision=351951
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 34f2c34126e8..48136abed775 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -887,6 +887,13 @@ struct tcp_function_block *
find_and_ref_tcp_fb(struct tcp_function_block *fs);
int tcp_default_ctloutput(struct socket *so, struct sockopt *sopt, struct inpcb *inp, struct tcpcb *tp);
+extern counter_u64_t tcp_inp_lro_direct_queue;
+extern counter_u64_t tcp_inp_lro_wokeup_queue;
+extern counter_u64_t tcp_inp_lro_compressed;
+extern counter_u64_t tcp_inp_lro_single_push;
+extern counter_u64_t tcp_inp_lro_locks_taken;
+extern counter_u64_t tcp_inp_lro_sack_wake;
+
uint32_t tcp_maxmtu(struct in_conninfo *, struct tcp_ifcap *);
uint32_t tcp_maxmtu6(struct in_conninfo *, struct tcp_ifcap *);
u_int tcp_maxseg(const struct tcpcb *);