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.

47 lines
1.6 KiB

  1. From 721ea5ec049e12afdd7c182f2899ab6d92914e68 Mon Sep 17 00:00:00 2001
  2. From: Ken-ichirou MATSUZAWA <chamaken@gmail.com>
  3. Date: Fri, 11 Sep 2015 12:12:11 +0900
  4. Subject: include: Sync with kernel headers
  5. Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
  6. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  7. ---
  8. include/libnetfilter_log/linux_nfnetlink_log.h | 9 ++++-----
  9. 1 file changed, 4 insertions(+), 5 deletions(-)
  10. --- a/include/libnetfilter_log/linux_nfnetlink_log.h
  11. +++ b/include/libnetfilter_log/linux_nfnetlink_log.h
  12. @@ -1,16 +1,12 @@
  13. #ifndef _NFNETLINK_LOG_H
  14. #define _NFNETLINK_LOG_H
  15. -#ifndef aligned_u64
  16. -#define aligned_u64 unsigned long long __attribute__((aligned(8)))
  17. -#endif
  18. -
  19. /* This file describes the netlink messages (i.e. 'protocol packets'),
  20. * and not any kind of function definitions. It is shared between kernel and
  21. * userspace. Don't put kernel specific stuff in here */
  22. #include <linux/types.h>
  23. -#include <libnfnetlink/linux_nfnetlink.h>
  24. +#include <linux/netfilter/nfnetlink.h>
  25. enum nfulnl_msg_types {
  26. NFULNL_MSG_PACKET, /* packet from kernel to userspace */
  27. @@ -55,6 +51,8 @@ enum nfulnl_attr_type {
  28. NFULA_HWTYPE, /* hardware type */
  29. NFULA_HWHEADER, /* hardware header */
  30. NFULA_HWLEN, /* hardware header length */
  31. + NFULA_CT, /* nf_conntrack_netlink.h */
  32. + NFULA_CT_INFO, /* enum ip_conntrack_info */
  33. __NFULA_MAX
  34. };
  35. @@ -97,5 +95,6 @@ enum nfulnl_attr_config {
  36. #define NFULNL_CFG_F_SEQ 0x0001
  37. #define NFULNL_CFG_F_SEQ_GLOBAL 0x0002
  38. +#define NFULNL_CFG_F_CONNTRACK 0x0004
  39. #endif /* _NFNETLINK_LOG_H */