Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2009 13:55:17 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186775 - head/sys/sys
Message-ID:  <200901051355.n05DtHoD097993@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Mon Jan  5 13:55:17 2009
New Revision: 186775
URL: http://svn.freebsd.org/changeset/base/186775

Log:
  Add the missing PRU_FLUSH and 'FLUSH' defines noticed
  by rwatson. Opps..

Modified:
  head/sys/sys/protosw.h

Modified: head/sys/sys/protosw.h
==============================================================================
--- head/sys/sys/protosw.h	Mon Jan  5 13:18:39 2009	(r186774)
+++ head/sys/sys/protosw.h	Mon Jan  5 13:55:17 2009	(r186775)
@@ -170,7 +170,8 @@ struct protosw {
 #define PRU_SEND_EOF		22	/* send and close */
 #define	PRU_SOSETLABEL		23	/* MAC label change */
 #define	PRU_CLOSE		24	/* socket close */
-#define PRU_NREQ		24
+#define PRU_FLUSH       25 /* flush the socket */
+#define PRU_NREQ		25
 
 #ifdef PRUREQUESTS
 const char *prurequests[] = {
@@ -180,7 +181,7 @@ const char *prurequests[] = {
 	"SENSE",	"RCVOOB",	"SENDOOB",	"SOCKADDR",
 	"PEERADDR",	"CONNECT2",	"FASTTIMO",	"SLOWTIMO",
 	"PROTORCV",	"PROTOSEND",	"SEND_EOF",	"SOSETLABEL",
-	"CLOSE",
+	"CLOSE", 	"FLUSH",
 };
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901051355.n05DtHoD097993>