summaryrefslogtreecommitdiffstats
path: root/sys/sys/protosw.h
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-01-20 17:32:01 +0000
committerfenner <fenner@FreeBSD.org>1999-01-20 17:32:01 +0000
commit505f7489c786c6d9187a23cdcaff81d58054cfa2 (patch)
treeb11687e0b4226a6a70dd505540489c7122139567 /sys/sys/protosw.h
parent801f1c1fa1926446d11f8e3767651f802a16222b (diff)
downloadFreeBSD-src-505f7489c786c6d9187a23cdcaff81d58054cfa2.zip
FreeBSD-src-505f7489c786c6d9187a23cdcaff81d58054cfa2.tar.gz
Add a flag, passed to pru_send routines, PRUS_MORETOCOME. This
flag means that there is more data to be put into the socket buffer. Use it in TCP to reduce the interaction between mbuf sizes and the Nagle algorithm. Based on: "Justin C. Walker" <justin@apple.com>'s description of Apple's fix for this problem.
Diffstat (limited to 'sys/sys/protosw.h')
-rw-r--r--sys/sys/protosw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index f016fc0f..99a1d92 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)protosw.h 8.1 (Berkeley) 6/2/93
- * $Id: protosw.h,v 1.24 1998/06/07 17:13:03 dfr Exp $
+ * $Id: protosw.h,v 1.25 1998/08/23 03:07:17 wollman Exp $
*/
#ifndef _SYS_PROTOSW_H_
@@ -203,6 +203,7 @@ struct pr_usrreqs {
struct proc *p));
#define PRUS_OOB 0x1
#define PRUS_EOF 0x2
+#define PRUS_MORETOCOME 0x4
int (*pru_sense) __P((struct socket *so, struct stat *sb));
int (*pru_shutdown) __P((struct socket *so));
int (*pru_sockaddr) __P((struct socket *so,
OpenPOWER on IntegriCloud