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 _UAPI_NFNETLINK_H 20 #define _UAPI_NFNETLINK_H 21 #include <linux/types.h> 22 #include <linux/netfilter/nfnetlink_compat.h> 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 enum nfnetlink_groups { 25 NFNLGRP_NONE, 26 #define NFNLGRP_NONE NFNLGRP_NONE 27 NFNLGRP_CONNTRACK_NEW, 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define NFNLGRP_CONNTRACK_NEW NFNLGRP_CONNTRACK_NEW 30 NFNLGRP_CONNTRACK_UPDATE, 31 #define NFNLGRP_CONNTRACK_UPDATE NFNLGRP_CONNTRACK_UPDATE 32 NFNLGRP_CONNTRACK_DESTROY, 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define NFNLGRP_CONNTRACK_DESTROY NFNLGRP_CONNTRACK_DESTROY 35 NFNLGRP_CONNTRACK_EXP_NEW, 36 #define NFNLGRP_CONNTRACK_EXP_NEW NFNLGRP_CONNTRACK_EXP_NEW 37 NFNLGRP_CONNTRACK_EXP_UPDATE, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define NFNLGRP_CONNTRACK_EXP_UPDATE NFNLGRP_CONNTRACK_EXP_UPDATE 40 NFNLGRP_CONNTRACK_EXP_DESTROY, 41 #define NFNLGRP_CONNTRACK_EXP_DESTROY NFNLGRP_CONNTRACK_EXP_DESTROY 42 NFNLGRP_NFTABLES, 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define NFNLGRP_NFTABLES NFNLGRP_NFTABLES 45 __NFNLGRP_MAX, 46 }; 47 #define NFNLGRP_MAX (__NFNLGRP_MAX - 1) 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 struct nfgenmsg { 50 __u8 nfgen_family; 51 __u8 version; 52 __be16 res_id; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 }; 55 #define NFNETLINK_V0 0 56 #define NFNL_SUBSYS_ID(x) ((x & 0xff00) >> 8) 57 #define NFNL_MSG_TYPE(x) (x & 0x00ff) 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define NFNL_SUBSYS_NONE 0 60 #define NFNL_SUBSYS_CTNETLINK 1 61 #define NFNL_SUBSYS_CTNETLINK_EXP 2 62 #define NFNL_SUBSYS_QUEUE 3 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define NFNL_SUBSYS_ULOG 4 65 #define NFNL_SUBSYS_OSF 5 66 #define NFNL_SUBSYS_IPSET 6 67 #define NFNL_SUBSYS_ACCT 7 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define NFNL_SUBSYS_CTNETLINK_TIMEOUT 8 70 #define NFNL_SUBSYS_CTHELPER 9 71 #define NFNL_SUBSYS_NFTABLES 10 72 #define NFNL_SUBSYS_NFT_COMPAT 11 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 #define NFNL_SUBSYS_COUNT 12 75 #define NFNL_MSG_BATCH_BEGIN NLMSG_MIN_TYPE 76 #define NFNL_MSG_BATCH_END NLMSG_MIN_TYPE+1 77 #endif 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79