mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 14:43:24 +00:00
Corrected VSOCK CID query; minor VSOCK features
This commit is contained in:
parent
b05b360320
commit
10a741eb60
6 changed files with 88 additions and 21 deletions
|
@ -2,14 +2,19 @@
|
|||
/* 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 */
|
||||
|
||||
#ifndef __xio_vsock_h_included
|
||||
#define __xio_vsock_h_included 1
|
||||
|
||||
#if WITH_VSOCK
|
||||
|
||||
extern const struct addrdesc addr_vsock_connect;
|
||||
extern const struct addrdesc addr_vsock_listen;
|
||||
|
||||
extern int xiosetsockaddrenv_vsock(int idx, char *namebuff, size_t namelen,
|
||||
char *valuebuff, size_t valuelen,
|
||||
struct sockaddr_vm *sa, int ipproto);
|
||||
char *valuebuff, size_t valuelen,
|
||||
struct sockaddr_vm *sa, int ipproto);
|
||||
|
||||
#endif /* WITH_VSOCK */
|
||||
|
||||
#endif /* !defined(__xio_vsock_h_included) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue