summaryrefslogtreecommitdiff
path: root/drivers/xen/pvcalls-front.h
blob: d937c24c90c3234f69ee0815895eef99c7758767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __PVCALLS_FRONT_H__
#define __PVCALLS_FRONT_H__

#include <linux/net.h>

int pvcalls_front_socket(struct socket *sock);
int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
			  int addr_len, int flags);
int pvcalls_front_bind(struct socket *sock,
		       struct sockaddr *addr,
		       int addr_len);
int pvcalls_front_listen(struct socket *sock, int backlog);
int pvcalls_front_accept(struct socket *sock,
			 struct socket *newsock,
			 int flags);
int pvcalls_front_sendmsg(struct socket *sock,
			  struct msghdr *msg,
			  size_t len);

#endif