Lines Matching defs:proto_ops
139 struct proto_ops { struct
140 int family;
141 unsigned int flags;
142 struct module *owner;
143 int (*release) (struct socket *sock);
144 int (*bind) (struct socket *sock,
147 int (*connect) (struct socket *sock,
150 int (*socketpair)(struct socket *sock1,
152 int (*accept) (struct socket *sock,
154 int (*getname) (struct socket *sock,
157 __poll_t (*poll) (struct file *file, struct socket *sock,
159 int (*ioctl) (struct socket *sock, unsigned int cmd,
162 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
165 int (*gettstamp) (struct socket *sock, void __user *userstamp,
167 int (*listen) (struct socket *sock, int len);
168 int (*shutdown) (struct socket *sock, int flags);
169 int (*setsockopt)(struct socket *sock, int level,
172 int (*getsockopt)(struct socket *sock, int level,
174 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
175 int (*sendmsg) (struct socket *sock, struct msghdr *m,
185 int (*recvmsg) (struct socket *sock, struct msghdr *m,
187 int (*mmap) (struct file *file, struct socket *sock,
189 ssize_t (*sendpage) (struct socket *sock, struct page *page,
191 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
193 int (*set_peek_off)(struct sock *sk, int val);
194 int (*peek_len)(struct socket *sock);
199 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
201 int (*sendpage_locked)(struct sock *sk, struct page *page,
203 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
205 int (*set_rcvlowat)(struct sock *sk, int val);