diff options
| author | David Greenman <dg@FreeBSD.org> | 1994-05-29 07:42:47 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1994-05-29 07:42:47 +0000 |
| commit | 26e30fbba5deabaa9888fb5576e1450920705e93 (patch) | |
| tree | 30ff42a66d50d09e42eaabf8d04a89c1e2cd863c | |
| parent | 987df638a91cff12cba8e51565f609b22bc2118b (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_usrreq.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 42c45a43a9a0..37dac23af77c 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -412,8 +412,18 @@ tcp_ctloutput(op, so, level, optname, mp) return (error); } -u_long tcp_sendspace = 1024*8; -u_long tcp_recvspace = 1024*8; +/* + * tcp_sendspace and tcp_recvspace are the default send and receive window + * sizes, respectively. These are obsolescent (this information should + * be set by the route). + */ +#ifdef TCP_SMALLSPACE +u_long tcp_sendspace = 1024*4; +u_long tcp_recvspace = 1024*4; +#else +u_long tcp_sendspace = 1024*16; +u_long tcp_recvspace = 1024*16; +#endif /* * Attach TCP protocol to socket, allocating |
