From a2ff111cdfb84f352c409930ded9e00c39c67c81 Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Mon, 5 Jan 2009 13:55:17 +0000 Subject: [PATCH] Add the missing PRU_FLUSH and 'FLUSH' defines noticed by rwatson. Opps.. --- sys/sys/protosw.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h index ff3427bb053b..88d3580af3db 100644 --- a/sys/sys/protosw.h +++ b/sys/sys/protosw.h @@ -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