File Index
Files and directories
Sign in
FILE

msg_zerocopy_common.h

File preview with syntax highlighting.

linux-6.19.14/tools/testing/vsock/msg_zerocopy_common.h C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2#ifndef MSG_ZEROCOPY_COMMON_H
 3#define MSG_ZEROCOPY_COMMON_H
 4
 5#include <stdbool.h>
 6
 7#ifndef SOL_VSOCK
 8#define SOL_VSOCK	287
 9#endif
10
11#ifndef VSOCK_RECVERR
12#define VSOCK_RECVERR	1
13#endif
14
15void vsock_recv_completion(int fd, const bool *zerocopied);
16
17#endif /* MSG_ZEROCOPY_COMMON_H */
~/ Read-only file preview.