Source-Changes-HG archive

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

[src/kqueue]: src/sys/kern add soo_kqfilter method



details:   https://anonhg.NetBSD.org/src/rev/05bb21f51c03
branches:  kqueue
changeset: 512349:05bb21f51c03
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jul 10 13:43:33 2001 +0000

description:
add soo_kqfilter method

diffstat:

 sys/kern/sys_socket.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 218ac7bb14be -r 05bb21f51c03 sys/kern/sys_socket.c
--- a/sys/kern/sys_socket.c     Tue Jul 10 13:42:29 2001 +0000
+++ b/sys/kern/sys_socket.c     Tue Jul 10 13:43:33 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_socket.c,v 1.31 2001/06/16 21:29:32 manu Exp $     */
+/*     $NetBSD: sys_socket.c,v 1.31.2.1 2001/07/10 13:43:33 lukem Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -50,8 +50,10 @@
 #include <net/if.h>
 #include <net/route.h>
 
-struct fileops socketops =
-    { soo_read, soo_write, soo_ioctl, soo_fcntl, soo_poll, soo_stat, soo_close};
+struct fileops socketops = {
+       soo_read, soo_write, soo_ioctl, soo_fcntl, soo_poll,
+       soo_stat, soo_close, soo_kqfilter
+};
 
 /* ARGSUSED */
 int



Home | Main Index | Thread Index | Old Index