xref: /openbmc/linux/drivers/xen/pvcalls-front.h (revision 1a59d1b8)
1 #ifndef __PVCALLS_FRONT_H__
2 #define __PVCALLS_FRONT_H__
3 
4 #include <linux/net.h>
5 
6 int pvcalls_front_socket(struct socket *sock);
7 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
8 			  int addr_len, int flags);
9 int pvcalls_front_bind(struct socket *sock,
10 		       struct sockaddr *addr,
11 		       int addr_len);
12 int pvcalls_front_listen(struct socket *sock, int backlog);
13 int pvcalls_front_accept(struct socket *sock,
14 			 struct socket *newsock,
15 			 int flags);
16 int pvcalls_front_sendmsg(struct socket *sock,
17 			  struct msghdr *msg,
18 			  size_t len);
19 int 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);
26 int pvcalls_front_release(struct socket *sock);
27 
28 #endif
29