]> Git Repo - linux.git/blob - tools/testing/vsock/msg_zerocopy_common.h
x86/kaslr: Expose and use the end of the physical memory address space
[linux.git] / tools / testing / vsock / msg_zerocopy_common.h
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
15 void enable_so_zerocopy(int fd);
16 void vsock_recv_completion(int fd, const bool *zerocopied);
17
18 #endif /* MSG_ZEROCOPY_COMMON_H */
This page took 0.031729 seconds and 4 git commands to generate.