0001 #ifndef __PVCALLS_FRONT_H__
0002 #define __PVCALLS_FRONT_H__
0003
0004 #include <linux/net.h>
0005
0006 int pvcalls_front_socket(struct socket *sock);
0007 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
0008 int addr_len, int flags);
0009 int pvcalls_front_bind(struct socket *sock,
0010 struct sockaddr *addr,
0011 int addr_len);
0012 int pvcalls_front_listen(struct socket *sock, int backlog);
0013 int pvcalls_front_accept(struct socket *sock,
0014 struct socket *newsock,
0015 int flags);
0016 int pvcalls_front_sendmsg(struct socket *sock,
0017 struct msghdr *msg,
0018 size_t len);
0019 int pvcalls_front_recvmsg(struct socket *sock,
0020 struct msghdr *msg,
0021 size_t len,
0022 int flags);
0023 __poll_t pvcalls_front_poll(struct file *file,
0024 struct socket *sock,
0025 poll_table *wait);
0026 int pvcalls_front_release(struct socket *sock);
0027
0028 #endif