linux/net/vmw_vsock/vsock_loopback.c

// SPDX-License-Identifier: GPL-2.0-only
/* loopback transport for vsock using virtio_transport_common APIs
 *
 * Copyright (C) 2013-2019 Red Hat, Inc.
 * Authors: Asias He <[email protected]>
 *          Stefan Hajnoczi <[email protected]>
 *          Stefano Garzarella <[email protected]>
 *
 */
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/virtio_vsock.h>

struct vsock_loopback {};

static struct vsock_loopback the_vsock_loopback;

static u32 vsock_loopback_get_local_cid(void)
{}

static int vsock_loopback_send_pkt(struct sk_buff *skb)
{}

static int vsock_loopback_cancel_pkt(struct vsock_sock *vsk)
{}

static bool vsock_loopback_seqpacket_allow(u32 remote_cid);
static bool vsock_loopback_msgzerocopy_allow(void)
{}

static struct virtio_transport loopback_transport =;

static bool vsock_loopback_seqpacket_allow(u32 remote_cid)
{}

static void vsock_loopback_work(struct work_struct *work)
{}

static int __init vsock_loopback_init(void)
{}

static void __exit vsock_loopback_exit(void)
{}

module_init();
module_exit(vsock_loopback_exit);
MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_ALIAS_NETPROTO();