swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 authored by Linus Torvalds on 05 July 2020, 23:20:22 UTC
Linux 5.8-rc4
Tip revision: dcb7fd8
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