2020-12-26 21:46:36 +00:00
|
|
|
/* source: xio-vsock.h */
|
|
|
|
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
|
|
|
|
/* Author: Stefano Garzarella <sgarzare@redhat.com */
|
|
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
2023-06-12 06:37:49 +00:00
|
|
|
|
2020-12-26 21:46:36 +00:00
|
|
|
#ifndef __xio_vsock_h_included
|
|
|
|
#define __xio_vsock_h_included 1
|
|
|
|
|
2023-06-12 06:37:49 +00:00
|
|
|
#if WITH_VSOCK
|
|
|
|
|
2020-12-26 21:46:36 +00:00
|
|
|
extern const struct addrdesc addr_vsock_connect;
|
|
|
|
extern const struct addrdesc addr_vsock_listen;
|
|
|
|
|
2022-10-30 10:25:19 +00:00
|
|
|
extern int xiosetsockaddrenv_vsock(int idx, char *namebuff, size_t namelen,
|
2023-06-12 06:37:49 +00:00
|
|
|
char *valuebuff, size_t valuelen,
|
|
|
|
struct sockaddr_vm *sa, int ipproto);
|
|
|
|
|
|
|
|
#endif /* WITH_VSOCK */
|
2022-10-30 10:25:19 +00:00
|
|
|
|
2020-12-26 21:46:36 +00:00
|
|
|
#endif /* !defined(__xio_vsock_h_included) */
|