linux/net/vmw_vsock/vsock_addr.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * VMware vSockets Driver
 *
 * Copyright (C) 2007-2012 VMware, Inc. All rights reserved.
 */

#include <linux/types.h>
#include <linux/socket.h>
#include <linux/stddef.h>
#include <net/sock.h>
#include <net/vsock_addr.h>

void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port)
{}
EXPORT_SYMBOL_GPL();

int vsock_addr_validate(const struct sockaddr_vm *addr)
{}
EXPORT_SYMBOL_GPL();

bool vsock_addr_bound(const struct sockaddr_vm *addr)
{}
EXPORT_SYMBOL_GPL();

void vsock_addr_unbind(struct sockaddr_vm *addr)
{}
EXPORT_SYMBOL_GPL();

bool vsock_addr_equals_addr(const struct sockaddr_vm *addr,
			    const struct sockaddr_vm *other)
{}
EXPORT_SYMBOL_GPL();

int vsock_addr_cast(const struct sockaddr *addr,
		    size_t len, struct sockaddr_vm **out_addr)
{}
EXPORT_SYMBOL_GPL();