summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-23 21:37:28 +0000
committerphk <phk@FreeBSD.org>2002-12-23 21:37:28 +0000
commitfedfaf9f8b1045aeb82f674a281267ce7853224b (patch)
treeb77fc69e0dd117740c1719c2cb6d0bcfbd654c0e /sys/kern
parent8b4847e64e9b489ba9d1c35c7430fe817ef54e2c (diff)
downloadFreeBSD-src-fedfaf9f8b1045aeb82f674a281267ce7853224b.zip
FreeBSD-src-fedfaf9f8b1045aeb82f674a281267ce7853224b.tar.gz
s/sokqfilter/soo_kqfilter/ for consistency with the naming of all
other socket/file operations.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sys_socket.c2
-rw-r--r--sys/kern/uipc_socket.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 328ff51..563224a 100644
--- a/sys/kern/sys_socket.c
+++ b/sys/kern/sys_socket.c
@@ -54,7 +54,7 @@
#include <net/route.h>
struct fileops socketops = {
- soo_read, soo_write, soo_ioctl, soo_poll, sokqfilter,
+ soo_read, soo_write, soo_ioctl, soo_poll, soo_kqfilter,
soo_stat, soo_close
};
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 5dd4406..73d9a16 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1739,7 +1739,7 @@ sopoll(struct socket *so, int events, struct ucred *active_cred,
}
int
-sokqfilter(struct file *fp, struct knote *kn)
+soo_kqfilter(struct file *fp, struct knote *kn)
{
struct socket *so = (struct socket *)kn->kn_fp->f_data;
struct sockbuf *sb;
OpenPOWER on IntegriCloud