aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2017-12-07 22:36:58 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2017-12-07 22:36:58 +0000
commit66492fea498fe0e3880e7986db33ee1ab85f28ea (patch)
tree2dd39c47b9607bbcef2bfed487c7773ced43a0ad /sys/netinet/tcp_var.h
parent9f0abda05115a42fe90450e657ed81a7035d2cb2 (diff)
downloadsrc-66492fea498fe0e3880e7986db33ee1ab85f28ea.tar.gz
src-66492fea498fe0e3880e7986db33ee1ab85f28ea.zip
Separate out send buffer autoscaling code into function, so that
alternative TCP stacks may reuse it instead of pasting. Obtained from: Netflix
Notes
Notes: svn path=/head/; revision=326673
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 0bcb3dc61855..35b444108cf8 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -884,6 +884,7 @@ void tcp_sack_partialack(struct tcpcb *, struct tcphdr *);
void tcp_free_sackholes(struct tcpcb *tp);
int tcp_newreno(struct tcpcb *, struct tcphdr *);
int tcp_compute_pipe(struct tcpcb *);
+void tcp_sndbuf_autoscale(struct tcpcb *, struct socket *, uint32_t);
static inline void
tcp_fields_to_host(struct tcphdr *th)