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.

netlink_route.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr>
  3. * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com>
  4. * Copyright (c) 2016-2018 The strace developers.
  5. * All rights reserved.
  6. *
  7. * SPDX-License-Identifier: LGPL-2.1-or-later
  8. */
  9. #ifndef STRACE_NETLINK_ROUTE_H
  10. # define STRACE_NETLINK_ROUTE_H
  11. # define DECL_NETLINK_ROUTE_DECODER(route_decode_name) \
  12. void \
  13. route_decode_name(struct tcb *tcp, \
  14. const struct nlmsghdr *nlmsghdr, \
  15. uint8_t family, \
  16. kernel_ulong_t addr, \
  17. unsigned int len) \
  18. /* End of DECL_NETLINK_ROUTE_DECODER definition. */
  19. extern DECL_NETLINK_ROUTE_DECODER(decode_br_port_msg);
  20. extern DECL_NETLINK_ROUTE_DECODER(decode_dcbmsg);
  21. extern DECL_NETLINK_ROUTE_DECODER(decode_fib_rule_hdr);
  22. extern DECL_NETLINK_ROUTE_DECODER(decode_ifaddrlblmsg);
  23. extern DECL_NETLINK_ROUTE_DECODER(decode_ifaddrmsg);
  24. extern DECL_NETLINK_ROUTE_DECODER(decode_ifinfomsg);
  25. extern DECL_NETLINK_ROUTE_DECODER(decode_ndmsg);
  26. extern DECL_NETLINK_ROUTE_DECODER(decode_ndtmsg);
  27. extern DECL_NETLINK_ROUTE_DECODER(decode_netconfmsg);
  28. extern DECL_NETLINK_ROUTE_DECODER(decode_rtgenmsg);
  29. extern DECL_NETLINK_ROUTE_DECODER(decode_rtm_getneigh);
  30. extern DECL_NETLINK_ROUTE_DECODER(decode_rtmsg);
  31. extern DECL_NETLINK_ROUTE_DECODER(decode_tcamsg);
  32. extern DECL_NETLINK_ROUTE_DECODER(decode_tcmsg);
  33. #endif /* !STRACE_NETLINK_ROUTE_H */