Lines Matching defs:proto_ops
160 struct proto_ops { struct
161 int family;
162 struct module *owner;
163 int (*release) (struct socket *sock);
164 int (*bind) (struct socket *sock,
167 int (*connect) (struct socket *sock,
170 int (*socketpair)(struct socket *sock1,
172 int (*accept) (struct socket *sock,
174 int (*getname) (struct socket *sock,
177 __poll_t (*poll) (struct file *file, struct socket *sock,
179 int (*ioctl) (struct socket *sock, unsigned int cmd,
182 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
185 int (*gettstamp) (struct socket *sock, void __user *userstamp,
187 int (*listen) (struct socket *sock, int len);
188 int (*shutdown) (struct socket *sock, int flags);
189 int (*setsockopt)(struct socket *sock, int level,
192 int (*getsockopt)(struct socket *sock, int level,
194 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
195 int (*sendmsg) (struct socket *sock, struct msghdr *m,
205 int (*recvmsg) (struct socket *sock, struct msghdr *m,
207 int (*mmap) (struct file *file, struct socket *sock,
209 ssize_t (*sendpage) (struct socket *sock, struct page *page,
211 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
213 int (*set_peek_off)(struct sock *sk, int val);
214 int (*peek_len)(struct socket *sock);
219 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
222 int (*read_skb)(struct sock *sk, skb_read_actor_t recv_actor);
223 int (*sendpage_locked)(struct sock *sk, struct page *page,
225 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
227 int (*set_rcvlowat)(struct sock *sk, int val);