nf_tables_compat.h revision 38062f954c637861348dd8078cefb73554e6f12c
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_
21enum nft_target_attributes {
22 NFTA_TARGET_UNSPEC,
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 NFTA_TARGET_NAME,
25 NFTA_TARGET_REV,
26 NFTA_TARGET_INFO,
27 __NFTA_TARGET_MAX
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29};
30#define NFTA_TARGET_MAX (__NFTA_TARGET_MAX - 1)
31enum nft_match_attributes {
32 NFTA_MATCH_UNSPEC,
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 NFTA_MATCH_NAME,
35 NFTA_MATCH_REV,
36 NFTA_MATCH_INFO,
37 __NFTA_MATCH_MAX
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40#define NFTA_MATCH_MAX (__NFTA_MATCH_MAX - 1)
41#define NFT_COMPAT_NAME_MAX 32
42enum {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 NFNL_MSG_COMPAT_GET,
45 NFNL_MSG_COMPAT_MAX
46};
47enum {
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 NFTA_COMPAT_UNSPEC = 0,
50 NFTA_COMPAT_NAME,
51 NFTA_COMPAT_REV,
52 NFTA_COMPAT_TYPE,
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 __NFTA_COMPAT_MAX,
55};
56#define NFTA_COMPAT_MAX (__NFTA_COMPAT_MAX - 1)
57#endif
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59