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 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 enum nfnl_acct_msg_types {
     25  NFNL_MSG_CTHELPER_NEW,
     26  NFNL_MSG_CTHELPER_GET,
     27  NFNL_MSG_CTHELPER_DEL,
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  NFNL_MSG_CTHELPER_MAX
     30 };
     31 enum nfnl_cthelper_type {
     32  NFCTH_UNSPEC,
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  NFCTH_NAME,
     35  NFCTH_TUPLE,
     36  NFCTH_QUEUE_NUM,
     37  NFCTH_POLICY,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  NFCTH_PRIV_DATA_LEN,
     40  NFCTH_STATUS,
     41  __NFCTH_MAX
     42 };
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define NFCTH_MAX (__NFCTH_MAX - 1)
     45 enum nfnl_cthelper_policy_type {
     46  NFCTH_POLICY_SET_UNSPEC,
     47  NFCTH_POLICY_SET_NUM,
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  NFCTH_POLICY_SET,
     50  NFCTH_POLICY_SET1 = NFCTH_POLICY_SET,
     51  NFCTH_POLICY_SET2,
     52  NFCTH_POLICY_SET3,
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54  NFCTH_POLICY_SET4,
     55  __NFCTH_POLICY_SET_MAX
     56 };
     57 #define NFCTH_POLICY_SET_MAX (__NFCTH_POLICY_SET_MAX - 1)
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 enum nfnl_cthelper_pol_type {
     60  NFCTH_POLICY_UNSPEC,
     61  NFCTH_POLICY_NAME,
     62  NFCTH_POLICY_EXPECT_MAX,
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64  NFCTH_POLICY_EXPECT_TIMEOUT,
     65  __NFCTH_POLICY_MAX
     66 };
     67 #define NFCTH_POLICY_MAX (__NFCTH_POLICY_MAX - 1)
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 enum nfnl_cthelper_tuple_type {
     70  NFCTH_TUPLE_UNSPEC,
     71  NFCTH_TUPLE_L3PROTONUM,
     72  NFCTH_TUPLE_L4PROTONUM,
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74  __NFCTH_TUPLE_MAX,
     75 };
     76 #define NFCTH_TUPLE_MAX (__NFCTH_TUPLE_MAX - 1)
     77 #endif
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79