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 */ 18 19