Lines Matching defs:proto_ops
133 struct proto_ops { struct
134 int family;
135 struct module *owner;
136 int (*release) (struct socket *sock);
137 int (*bind) (struct socket *sock,
140 int (*connect) (struct socket *sock,
143 int (*socketpair)(struct socket *sock1,
145 int (*accept) (struct socket *sock,
147 int (*getname) (struct socket *sock,
150 __poll_t (*poll) (struct file *file, struct socket *sock,
152 int (*ioctl) (struct socket *sock, unsigned int cmd,
155 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
158 int (*listen) (struct socket *sock, int len);
159 int (*shutdown) (struct socket *sock, int flags);
160 int (*setsockopt)(struct socket *sock, int level,
162 int (*getsockopt)(struct socket *sock, int level,
165 int (*compat_setsockopt)(struct socket *sock, int level,
167 int (*compat_getsockopt)(struct socket *sock, int level,
170 int (*sendmsg) (struct socket *sock, struct msghdr *m,
180 int (*recvmsg) (struct socket *sock, struct msghdr *m,
182 int (*mmap) (struct file *file, struct socket *sock,
184 ssize_t (*sendpage) (struct socket *sock, struct page *page,
186 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
188 int (*set_peek_off)(struct sock *sk, int val);
189 int (*peek_len)(struct socket *sock);
194 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
196 int (*sendpage_locked)(struct sock *sk, struct page *page,
198 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
200 int (*set_rcvlowat)(struct sock *sk, int val);