Lines Matching defs:proto_ops
162 struct proto_ops { struct
163 int family;
164 struct module *owner;
165 int (*release) (struct socket *sock);
166 int (*bind) (struct socket *sock,
169 int (*connect) (struct socket *sock,
172 int (*socketpair)(struct socket *sock1,
174 int (*accept) (struct socket *sock,
177 int (*getname) (struct socket *sock,
180 __poll_t (*poll) (struct file *file, struct socket *sock,
182 int (*ioctl) (struct socket *sock, unsigned int cmd,
185 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
188 int (*gettstamp) (struct socket *sock, void __user *userstamp,
190 int (*listen) (struct socket *sock, int len);
191 int (*shutdown) (struct socket *sock, int flags);
192 int (*setsockopt)(struct socket *sock, int level,
195 int (*getsockopt)(struct socket *sock, int level,
197 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
198 int (*sendmsg) (struct socket *sock, struct msghdr *m,
208 int (*recvmsg) (struct socket *sock, struct msghdr *m,
210 int (*mmap) (struct file *file, struct socket *sock,
212 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
214 void (*splice_eof)(struct socket *sock);
215 int (*set_peek_off)(struct sock *sk, int val);
216 int (*peek_len)(struct socket *sock);
221 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
224 int (*read_skb)(struct sock *sk, skb_read_actor_t recv_actor);
225 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
227 int (*set_rcvlowat)(struct sock *sk, int val);