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 _NFNL_CTHELPER_H_
     20 #define _NFNL_CTHELPER_H_
     21 #define NFCT_HELPER_STATUS_DISABLED 0
     22 #define NFCT_HELPER_STATUS_ENABLED 1
     23 enum nfnl_acct_msg_types {
     24   NFNL_MSG_CTHELPER_NEW,
     25   NFNL_MSG_CTHELPER_GET,
     26   NFNL_MSG_CTHELPER_DEL,
     27   NFNL_MSG_CTHELPER_MAX
     28 };
     29 enum nfnl_cthelper_type {
     30   NFCTH_UNSPEC,
     31   NFCTH_NAME,
     32   NFCTH_TUPLE,
     33   NFCTH_QUEUE_NUM,
     34   NFCTH_POLICY,
     35   NFCTH_PRIV_DATA_LEN,
     36   NFCTH_STATUS,
     37   __NFCTH_MAX
     38 };
     39 #define NFCTH_MAX (__NFCTH_MAX - 1)
     40 enum nfnl_cthelper_policy_type {
     41   NFCTH_POLICY_SET_UNSPEC,
     42   NFCTH_POLICY_SET_NUM,
     43   NFCTH_POLICY_SET,
     44   NFCTH_POLICY_SET1 = NFCTH_POLICY_SET,
     45   NFCTH_POLICY_SET2,
     46   NFCTH_POLICY_SET3,
     47   NFCTH_POLICY_SET4,
     48   __NFCTH_POLICY_SET_MAX
     49 };
     50 #define NFCTH_POLICY_SET_MAX (__NFCTH_POLICY_SET_MAX - 1)
     51 enum nfnl_cthelper_pol_type {
     52   NFCTH_POLICY_UNSPEC,
     53   NFCTH_POLICY_NAME,
     54   NFCTH_POLICY_EXPECT_MAX,
     55   NFCTH_POLICY_EXPECT_TIMEOUT,
     56   __NFCTH_POLICY_MAX
     57 };
     58 #define NFCTH_POLICY_MAX (__NFCTH_POLICY_MAX - 1)
     59 enum nfnl_cthelper_tuple_type {
     60   NFCTH_TUPLE_UNSPEC,
     61   NFCTH_TUPLE_L3PROTONUM,
     62   NFCTH_TUPLE_L4PROTONUM,
     63   __NFCTH_TUPLE_MAX,
     64 };
     65 #define NFCTH_TUPLE_MAX (__NFCTH_TUPLE_MAX - 1)
     66 #endif
     67