2017-10-30 18:40:54 -04:00
|
|
|
#ifndef __PVCALLS_FRONT_H__
|
|
|
|
#define __PVCALLS_FRONT_H__
|
|
|
|
|
|
|
|
#include <linux/net.h>
|
|
|
|
|
|
|
|
int pvcalls_front_socket(struct socket *sock);
|
2017-10-30 18:40:55 -04:00
|
|
|
int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
|
|
|
|
int addr_len, int flags);
|
2017-10-30 18:40:56 -04:00
|
|
|
int pvcalls_front_bind(struct socket *sock,
|
|
|
|
struct sockaddr *addr,
|
|
|
|
int addr_len);
|
2017-10-30 18:40:57 -04:00
|
|
|
int pvcalls_front_listen(struct socket *sock, int backlog);
|
2017-10-30 18:40:58 -04:00
|
|
|
int pvcalls_front_accept(struct socket *sock,
|
|
|
|
struct socket *newsock,
|
|
|
|
int flags);
|
2017-10-30 18:40:59 -04:00
|
|
|
int pvcalls_front_sendmsg(struct socket *sock,
|
|
|
|
struct msghdr *msg,
|
|
|
|
size_t len);
|
2017-10-30 18:41:00 -04:00
|
|
|
int pvcalls_front_recvmsg(struct socket *sock,
|
|
|
|
struct msghdr *msg,
|
|
|
|
size_t len,
|
|
|
|
int flags);
|
2018-02-01 10:07:32 -05:00
|
|
|
__poll_t pvcalls_front_poll(struct file *file,
|
2017-10-30 18:41:01 -04:00
|
|
|
struct socket *sock,
|
|
|
|
poll_table *wait);
|
2017-10-30 18:41:02 -04:00
|
|
|
int pvcalls_front_release(struct socket *sock);
|
2017-10-30 18:40:54 -04:00
|
|
|
|
|
|
|
#endif
|