2017-10-31 06:40:54 +08:00
|
|
|
#ifndef __PVCALLS_FRONT_H__
|
|
|
|
#define __PVCALLS_FRONT_H__
|
|
|
|
|
|
|
|
#include <linux/net.h>
|
|
|
|
|
|
|
|
int pvcalls_front_socket(struct socket *sock);
|
2017-10-31 06:40:55 +08:00
|
|
|
int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
|
|
|
|
int addr_len, int flags);
|
2017-10-31 06:40:56 +08:00
|
|
|
int pvcalls_front_bind(struct socket *sock,
|
|
|
|
struct sockaddr *addr,
|
|
|
|
int addr_len);
|
2017-10-31 06:40:57 +08:00
|
|
|
int pvcalls_front_listen(struct socket *sock, int backlog);
|
2017-10-31 06:40:58 +08:00
|
|
|
int pvcalls_front_accept(struct socket *sock,
|
|
|
|
struct socket *newsock,
|
|
|
|
int flags);
|
2017-10-31 06:40:54 +08:00
|
|
|
|
|
|
|
#endif
|