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.

socketcall.c 376B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2016 Dmitry V. Levin <ldv@altlinux.org>
  3. * Copyright (c) 2016-2018 The strace developers.
  4. * All rights reserved.
  5. *
  6. * SPDX-License-Identifier: LGPL-2.1-or-later
  7. */
  8. #include "defs.h"
  9. #include "xlat/socketcalls.h"
  10. SYS_FUNC(socketcall)
  11. {
  12. printxval_d(socketcalls, tcp->u_arg[0], NULL);
  13. tprints(", ");
  14. printaddr(tcp->u_arg[1]);
  15. return RVAL_DECODED;
  16. }