summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_sockbuf.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-24 17:23:11 +0000
committerpeter <peter@FreeBSD.org>1997-05-24 17:23:11 +0000
commit16ff4223276d7d07622d8962c3924ef714ccff73 (patch)
treed21647876f340300d5615e2f3b02059f55d41046 /sys/kern/uipc_sockbuf.c
parent9b1a8266578a8978b99dae88495bc5205996d7aa (diff)
downloadFreeBSD-src-16ff4223276d7d07622d8962c3924ef714ccff73.zip
FreeBSD-src-16ff4223276d7d07622d8962c3924ef714ccff73.tar.gz
Attempt to convert the ip_divert code to use the new-style protocol request
switch. I needed 'LINT' to compile for other reasons so I kinda got the blood on my hands. Note: I don't know how to test this, I don't know if it works correctly.
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r--sys/kern/uipc_sockbuf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c
index f31cc98..4814a66 100644
--- a/sys/kern/uipc_sockbuf.c
+++ b/sys/kern/uipc_sockbuf.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93
- * $Id: uipc_socket2.c,v 1.23 1997/03/31 12:29:59 davidg Exp $
+ * $Id: uipc_socket2.c,v 1.24 1997/04/27 20:00:44 wollman Exp $
*/
#include <sys/param.h>
@@ -969,6 +969,12 @@ pru_accept_notsupp(struct socket *so, struct mbuf *nam)
}
int
+pru_connect_notsupp(struct socket *so, struct mbuf *nam, struct proc *p)
+{
+ return EOPNOTSUPP;
+}
+
+int
pru_connect2_notsupp(struct socket *so1, struct socket *so2)
{
return EOPNOTSUPP;
OpenPOWER on IntegriCloud