1 #ifndef _IPCONNTRACK_NETLINK_H
2 #define _IPCONNTRACK_NETLINK_H
3 #include <linux/netfilter/nfnetlink.h>
9 IPCTNL_MSG_CT_GET_CTRZERO
,
14 enum ctnl_exp_msg_types
{
17 IPCTNL_MSG_EXP_DELETE
,
39 #define CTA_MAX (__CTA_MAX - 1)
47 #define CTA_TUPLE_MAX (__CTA_TUPLE_MAX - 1)
57 #define CTA_IP_MAX (__CTA_IP_MAX - 1)
69 #define CTA_PROTO_MAX (__CTA_PROTO_MAX - 1)
71 enum ctattr_protoinfo
{
76 #define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1)
78 enum ctattr_protoinfo_tcp
{
79 CTA_PROTOINFO_TCP_UNSPEC
,
80 CTA_PROTOINFO_TCP_STATE
,
81 __CTA_PROTOINFO_TCP_MAX
83 #define CTA_PROTOINFO_TCP_MAX (__CTA_PROTOINFO_TCP_MAX - 1)
85 enum ctattr_counters
{
87 CTA_COUNTERS_PACKETS
, /* old 64bit counters */
88 CTA_COUNTERS_BYTES
, /* old 64bit counters */
89 CTA_COUNTERS32_PACKETS
,
93 #define CTA_COUNTERS_MAX (__CTA_COUNTERS_MAX - 1)
102 #define CTA_NAT_MAX (__CTA_NAT_MAX - 1)
104 enum ctattr_protonat
{
106 CTA_PROTONAT_PORT_MIN
,
107 CTA_PROTONAT_PORT_MAX
,
110 #define CTA_PROTONAT_MAX (__CTA_PROTONAT_MAX - 1)
119 CTA_EXPECT_HELP_NAME
,
122 #define CTA_EXPECT_MAX (__CTA_EXPECT_MAX - 1)
129 #define CTA_HELP_MAX (__CTA_HELP_MAX - 1)
131 #define CTA_HELP_MAXNAMESIZE 32
133 #endif /* _IPCONNTRACK_NETLINK_H */