s/sokqfilter/soo_kqfilter/ for consistency with the naming of all
other socket/file operations.
This commit is contained in:
parent
6e14fce9d9
commit
6ce9c72c30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108235
@ -99,7 +99,7 @@ static dev_t dt_ptm, dt_arp, dt_icmp, dt_ip, dt_tcp, dt_udp, dt_rawip,
|
||||
dt_unix_dgram, dt_unix_stream, dt_unix_ord_stream;
|
||||
|
||||
static struct fileops svr4_netops = {
|
||||
soo_read, soo_write, soo_ioctl, soo_poll, sokqfilter,
|
||||
soo_read, soo_write, soo_ioctl, soo_poll, soo_kqfilter,
|
||||
soo_stat, svr4_soo_close
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
@ -361,7 +361,7 @@ int soo_poll(struct file *fp, int events, struct ucred *active_cred,
|
||||
struct thread *td);
|
||||
int soo_stat(struct file *fp, struct stat *ub, struct ucred *active_cred,
|
||||
struct thread *td);
|
||||
int sokqfilter(struct file *fp, struct knote *kn);
|
||||
int soo_kqfilter(struct file *fp, struct knote *kn);
|
||||
|
||||
/*
|
||||
* From uipc_socket and friends
|
||||
|
Loading…
Reference in New Issue
Block a user