138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/****************************************************************************
238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************
338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   This header was automatically generated from a Linux kernel header
538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   of the same name, to make information necessary for userspace to
638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   structures, and macros generated from the original header, and thus,
838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   contains no copyrightable information.
938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   To edit the content of this header, modify the corresponding
1138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   Any manual change here will be lost the next time this script will
1538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***   be run. You've been warned!
1638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ***
1738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************
1838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************/
1938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#ifndef _NFT_COMPAT_NFNETLINK_H_
2038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define _NFT_COMPAT_NFNETLINK_H_
2138062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum nft_target_attributes {
22d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_TARGET_UNSPEC,
23d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_TARGET_NAME,
24d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_TARGET_REV,
25d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_TARGET_INFO,
26d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __NFTA_TARGET_MAX
2738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
2838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define NFTA_TARGET_MAX (__NFTA_TARGET_MAX - 1)
2938062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum nft_match_attributes {
30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_MATCH_UNSPEC,
31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_MATCH_NAME,
32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_MATCH_REV,
33d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_MATCH_INFO,
34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __NFTA_MATCH_MAX
3538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
3638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define NFTA_MATCH_MAX (__NFTA_MATCH_MAX - 1)
3738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define NFT_COMPAT_NAME_MAX 32
3838062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum {
39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFNL_MSG_COMPAT_GET,
40d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFNL_MSG_COMPAT_MAX
4138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
4238062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum {
43d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_COMPAT_UNSPEC = 0,
44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_COMPAT_NAME,
45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_COMPAT_REV,
46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  NFTA_COMPAT_TYPE,
47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __NFTA_COMPAT_MAX,
4838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris};
4938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define NFTA_COMPAT_MAX (__NFTA_COMPAT_MAX - 1)
5038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#endif
51