blob: d937c24c90c3234f69ee0815895eef99c7758767 [file] [log] [blame]
Stefano Stabellini21950462017-10-30 15:40:54 -07001#ifndef __PVCALLS_FRONT_H__
2#define __PVCALLS_FRONT_H__
3
4#include <linux/net.h>
5
6int pvcalls_front_socket(struct socket *sock);
Stefano Stabellinicb1c7d92017-10-30 15:40:55 -07007int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
8 int addr_len, int flags);
Stefano Stabellini67ea9892017-10-30 15:40:56 -07009int pvcalls_front_bind(struct socket *sock,
10 struct sockaddr *addr,
11 int addr_len);
Stefano Stabellini1853f112017-10-30 15:40:57 -070012int pvcalls_front_listen(struct socket *sock, int backlog);
Stefano Stabellini9774c6c2017-10-30 15:40:58 -070013int pvcalls_front_accept(struct socket *sock,
14 struct socket *newsock,
15 int flags);
Stefano Stabellini45ddce22017-10-30 15:40:59 -070016int pvcalls_front_sendmsg(struct socket *sock,
17 struct msghdr *msg,
18 size_t len);
Stefano Stabellini21950462017-10-30 15:40:54 -070019
20#endif