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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to