Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

msghdr.h 556B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifndef STRACE_MSGHDR_H
  8. # define STRACE_MSGHDR_H
  9. /* For definitions of struct msghdr and struct mmsghdr. */
  10. # include <sys/socket.h>
  11. # ifndef HAVE_STRUCT_MMSGHDR
  12. struct mmsghdr {
  13. struct msghdr msg_hdr;
  14. unsigned msg_len;
  15. };
  16. # endif
  17. struct tcb;
  18. extern void
  19. print_struct_msghdr(struct tcb *, const struct msghdr *,
  20. const int *p_user_msg_namelen, kernel_ulong_t data_size);
  21. #endif /* !STRACE_MSGHDR_H */