pvcalls-front.h 826 B

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