Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82a54d0e authored by Asias He's avatar Asias He Committed by David S. Miller
Browse files

VSOCK: Move af_vsock.h and vsock_addr.h to include/net



This is useful for other VSOCK transport implemented outside the
net/vmw_vsock/ directory to use these headers.

Signed-off-by: default avatarAsias He <asias@redhat.com>
Acked-by: default avatarAndy King <acking@vmware.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a648ab58
Loading
Loading
Loading
Loading
+0 −0

File moved.

+0 −0

File moved.

+1 −2
Original line number Diff line number Diff line
@@ -96,8 +96,7 @@
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <net/sock.h>

#include "af_vsock.h"
#include <net/af_vsock.h>

static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr);
static void vsock_sk_destruct(struct sock *sk);
+1 −1
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <net/sock.h>
#include <net/af_vsock.h>

#include "af_vsock.h"
#include "vmci_transport_notify.h"

static int vmci_transport_recv_dgram_cb(void *data, struct vmci_datagram *dg);
+2 −2
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@
#include <linux/vmw_vmci_defs.h>
#include <linux/vmw_vmci_api.h>

#include "vsock_addr.h"
#include "af_vsock.h"
#include <net/vsock_addr.h>
#include <net/af_vsock.h>

/* If the packet format changes in a release then this should change too. */
#define VMCI_TRANSPORT_PACKET_VERSION 1
Loading