Home | History | Annotate | Download | only in netfilter
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _NFT_COMPAT_NFNETLINK_H_
     20 #define _NFT_COMPAT_NFNETLINK_H_
     21 enum nft_target_attributes {
     22   NFTA_TARGET_UNSPEC,
     23   NFTA_TARGET_NAME,
     24   NFTA_TARGET_REV,
     25   NFTA_TARGET_INFO,
     26   __NFTA_TARGET_MAX
     27 };
     28 #define NFTA_TARGET_MAX (__NFTA_TARGET_MAX - 1)
     29 enum nft_match_attributes {
     30   NFTA_MATCH_UNSPEC,
     31   NFTA_MATCH_NAME,
     32   NFTA_MATCH_REV,
     33   NFTA_MATCH_INFO,
     34   __NFTA_MATCH_MAX
     35 };
     36 #define NFTA_MATCH_MAX (__NFTA_MATCH_MAX - 1)
     37 #define NFT_COMPAT_NAME_MAX 32
     38 enum {
     39   NFNL_MSG_COMPAT_GET,
     40   NFNL_MSG_COMPAT_MAX
     41 };
     42 enum {
     43   NFTA_COMPAT_UNSPEC = 0,
     44   NFTA_COMPAT_NAME,
     45   NFTA_COMPAT_REV,
     46   NFTA_COMPAT_TYPE,
     47   __NFTA_COMPAT_MAX,
     48 };
     49 #define NFTA_COMPAT_MAX (__NFTA_COMPAT_MAX - 1)
     50 #endif
     51