swh:1:snp:49cd9498d6cccc5e78252c27dcb645bcf7bf0c91
Raw File
Tip revision: b04e217704b7f879c6b91222b066983a44a7a09f authored by Linus Torvalds on 27 May 2018, 20:01:47 UTC
Linux 4.17-rc7
Tip revision: b04e217
pvcalls-front.h
#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);
int pvcalls_front_recvmsg(struct socket *sock,
			  struct msghdr *msg,
			  size_t len,
			  int flags);
__poll_t pvcalls_front_poll(struct file *file,
				struct socket *sock,
				poll_table *wait);
int pvcalls_front_release(struct socket *sock);

#endif
back to top