msg_zerocopy_common.h 325 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef MSG_ZEROCOPY_COMMON_H
  3. #define MSG_ZEROCOPY_COMMON_H
  4. #include <stdbool.h>
  5. #ifndef SOL_VSOCK
  6. #define SOL_VSOCK 287
  7. #endif
  8. #ifndef VSOCK_RECVERR
  9. #define VSOCK_RECVERR 1
  10. #endif
  11. void vsock_recv_completion(int fd, const bool *zerocopied);
  12. #endif /* MSG_ZEROCOPY_COMMON_H */