Lines Matching defs:proto_ops
137 struct proto_ops { struct
138 int family;
139 struct module *owner;
140 int (*release) (struct socket *sock);
141 int (*bind) (struct socket *sock,
144 int (*connect) (struct socket *sock,
147 int (*socketpair)(struct socket *sock1,
149 int (*accept) (struct socket *sock,
151 int (*getname) (struct socket *sock,
154 __poll_t (*poll) (struct file *file, struct socket *sock,
156 int (*ioctl) (struct socket *sock, unsigned int cmd,
159 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
162 int (*gettstamp) (struct socket *sock, void __user *userstamp,
164 int (*listen) (struct socket *sock, int len);
165 int (*shutdown) (struct socket *sock, int flags);
166 int (*setsockopt)(struct socket *sock, int level,
169 int (*getsockopt)(struct socket *sock, int level,
171 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
172 int (*sendmsg) (struct socket *sock, struct msghdr *m,
182 int (*recvmsg) (struct socket *sock, struct msghdr *m,
184 int (*mmap) (struct file *file, struct socket *sock,
186 ssize_t (*sendpage) (struct socket *sock, struct page *page,
188 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
190 int (*set_peek_off)(struct sock *sk, int val);
191 int (*peek_len)(struct socket *sock);
196 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
198 int (*sendpage_locked)(struct sock *sk, struct page *page,
200 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
202 int (*set_rcvlowat)(struct sock *sk, int val);