[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch for /usr/src/sys/sys/socketvar.h

Here is a patch which makes a small change to socketvar.h, allowing
option SB_MAX in the kernel config file (a la BSDI)...

--- socketvar.h.old	Sat Jan 24 21:45:00 1998
+++ socketvar.h	Sat Jan 24 21:45:55 1998
@@ -88,7 +88,9 @@
 		short	sb_flags;	/* flags, see below */
 		short	sb_timeo;	/* timeout for read/write */
 	} so_rcv, so_snd;
+#ifndef SB_MAX
 #define	SB_MAX		(256*1024)	/* default for max chars in sockbuf */
 #define	SB_LOCK		0x01		/* lock on data queue */
 #define	SB_WANT		0x02		/* someone is waiting to lock */
 #define	SB_WAIT		0x04		/* someone is waiting for data/space */

==chris at oc192.net==
"Hello.  I'm Leonard Nimoy.  The following tale of alien encounters is true.
And by true, I  mean false.  It's all lies.  But they're  entertaining lies.
And in the end, isn't that the real truth?  The answer is: No." -- The Simpson
Files [3G01]

Visit your host, monkey.org