pvcalls-front.h 826 字节
Newer Older
1 2 3 4 5 6
#ifndef __PVCALLS_FRONT_H__
#define __PVCALLS_FRONT_H__

#include <linux/net.h>

int pvcalls_front_socket(struct socket *sock);
7 8
int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
			  int addr_len, int flags);
9 10 11
int pvcalls_front_bind(struct socket *sock,
		       struct sockaddr *addr,
		       int addr_len);
12
int pvcalls_front_listen(struct socket *sock, int backlog);
13 14 15
int pvcalls_front_accept(struct socket *sock,
			 struct socket *newsock,
			 int flags);
16 17 18
int pvcalls_front_sendmsg(struct socket *sock,
			  struct msghdr *msg,
			  size_t len);
19 20 21 22
int pvcalls_front_recvmsg(struct socket *sock,
			  struct msghdr *msg,
			  size_t len,
			  int flags);
A
Al Viro 已提交
23
__poll_t pvcalls_front_poll(struct file *file,
24 25
				struct socket *sock,
				poll_table *wait);
26
int pvcalls_front_release(struct socket *sock);
27 28

#endif