1#ifndef __PVCALLS_FRONT_H__
2#define __PVCALLS_FRONT_H__
3
4#include <linux/net.h>
5
6int pvcalls_front_socket(struct socket *sock);
7int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
8			  int addr_len, int flags);
9int pvcalls_front_bind(struct socket *sock,
10		       struct sockaddr *addr,
11		       int addr_len);
12int pvcalls_front_listen(struct socket *sock, int backlog);
13int pvcalls_front_accept(struct socket *sock,
14			 struct socket *newsock,
15			 int flags);
16int pvcalls_front_sendmsg(struct socket *sock,
17			  struct msghdr *msg,
18			  size_t len);
19int pvcalls_front_recvmsg(struct socket *sock,
20			  struct msghdr *msg,
21			  size_t len,
22			  int flags);
23__poll_t pvcalls_front_poll(struct file *file,
24				struct socket *sock,
25				poll_table *wait);
26int pvcalls_front_release(struct socket *sock);
27
28#endif
29