Lines Matching defs:proto_ops

135 struct proto_ops {  struct
136 int family;
137 struct module *owner;
138 int (*release) (struct socket *sock);
139 int (*bind) (struct socket *sock,
142 int (*connect) (struct socket *sock,
145 int (*socketpair)(struct socket *sock1,
147 int (*accept) (struct socket *sock,
149 int (*getname) (struct socket *sock,
152 __poll_t (*poll) (struct file *file, struct socket *sock,
154 int (*ioctl) (struct socket *sock, unsigned int cmd,
157 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
160 int (*gettstamp) (struct socket *sock, void __user *userstamp,
162 int (*listen) (struct socket *sock, int len);
163 int (*shutdown) (struct socket *sock, int flags);
164 int (*setsockopt)(struct socket *sock, int level,
166 int (*getsockopt)(struct socket *sock, int level,
169 int (*compat_setsockopt)(struct socket *sock, int level,
171 int (*compat_getsockopt)(struct socket *sock, int level,
174 int (*sendmsg) (struct socket *sock, struct msghdr *m,
184 int (*recvmsg) (struct socket *sock, struct msghdr *m,
186 int (*mmap) (struct file *file, struct socket *sock,
188 ssize_t (*sendpage) (struct socket *sock, struct page *page,
190 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
192 int (*set_peek_off)(struct sock *sk, int val);
193 int (*peek_len)(struct socket *sock);
198 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
200 int (*sendpage_locked)(struct sock *sk, struct page *page,
202 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
204 int (*set_rcvlowat)(struct sock *sk, int val);