#include <linux/netfilter/nfnetlink.h>
Go to the source code of this file.
|
enum | cntl_msg_types {
IPCTNL_MSG_CT_NEW,
IPCTNL_MSG_CT_GET,
IPCTNL_MSG_CT_DELETE,
IPCTNL_MSG_CT_GET_CTRZERO,
IPCTNL_MSG_CT_GET_STATS_CPU,
IPCTNL_MSG_CT_GET_STATS,
IPCTNL_MSG_MAX
} |
|
enum | ctnl_exp_msg_types {
IPCTNL_MSG_EXP_NEW,
IPCTNL_MSG_EXP_GET,
IPCTNL_MSG_EXP_DELETE,
IPCTNL_MSG_EXP_GET_STATS_CPU,
IPCTNL_MSG_EXP_MAX
} |
|
enum | ctattr_type {
CTA_UNSPEC,
CTA_TUPLE_ORIG,
CTA_TUPLE_REPLY,
CTA_STATUS,
CTA_PROTOINFO,
CTA_HELP,
CTA_NAT_SRC,
CTA_TIMEOUT,
CTA_MARK,
CTA_COUNTERS_ORIG,
CTA_COUNTERS_REPLY,
CTA_USE,
CTA_ID,
CTA_NAT_DST,
CTA_TUPLE_MASTER,
CTA_NAT_SEQ_ADJ_ORIG,
CTA_NAT_SEQ_ADJ_REPLY,
CTA_SECMARK,
CTA_ZONE,
CTA_SECCTX,
CTA_TIMESTAMP,
CTA_MARK_MASK,
__CTA_MAX
} |
|
enum | ctattr_tuple { CTA_TUPLE_UNSPEC,
CTA_TUPLE_IP,
CTA_TUPLE_PROTO,
__CTA_TUPLE_MAX
} |
|
enum | ctattr_ip {
CTA_IP_UNSPEC,
CTA_IP_V4_SRC,
CTA_IP_V4_DST,
CTA_IP_V6_SRC,
CTA_IP_V6_DST,
__CTA_IP_MAX
} |
|
enum | ctattr_l4proto {
CTA_PROTO_UNSPEC,
CTA_PROTO_NUM,
CTA_PROTO_SRC_PORT,
CTA_PROTO_DST_PORT,
CTA_PROTO_ICMP_ID,
CTA_PROTO_ICMP_TYPE,
CTA_PROTO_ICMP_CODE,
CTA_PROTO_ICMPV6_ID,
CTA_PROTO_ICMPV6_TYPE,
CTA_PROTO_ICMPV6_CODE,
__CTA_PROTO_MAX
} |
|
enum | ctattr_protoinfo {
CTA_PROTOINFO_UNSPEC,
CTA_PROTOINFO_TCP,
CTA_PROTOINFO_DCCP,
CTA_PROTOINFO_SCTP,
__CTA_PROTOINFO_MAX
} |
|
enum | ctattr_protoinfo_tcp {
CTA_PROTOINFO_TCP_UNSPEC,
CTA_PROTOINFO_TCP_STATE,
CTA_PROTOINFO_TCP_WSCALE_ORIGINAL,
CTA_PROTOINFO_TCP_WSCALE_REPLY,
CTA_PROTOINFO_TCP_FLAGS_ORIGINAL,
CTA_PROTOINFO_TCP_FLAGS_REPLY,
__CTA_PROTOINFO_TCP_MAX
} |
|
enum | ctattr_protoinfo_dccp {
CTA_PROTOINFO_DCCP_UNSPEC,
CTA_PROTOINFO_DCCP_STATE,
CTA_PROTOINFO_DCCP_ROLE,
CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ,
__CTA_PROTOINFO_DCCP_MAX
} |
|
enum | ctattr_protoinfo_sctp {
CTA_PROTOINFO_SCTP_UNSPEC,
CTA_PROTOINFO_SCTP_STATE,
CTA_PROTOINFO_SCTP_VTAG_ORIGINAL,
CTA_PROTOINFO_SCTP_VTAG_REPLY,
__CTA_PROTOINFO_SCTP_MAX
} |
|
enum | ctattr_counters {
CTA_COUNTERS_UNSPEC,
CTA_COUNTERS_PACKETS,
CTA_COUNTERS_BYTES,
CTA_COUNTERS32_PACKETS,
CTA_COUNTERS32_BYTES,
__CTA_COUNTERS_MAX
} |
|
enum | ctattr_tstamp { CTA_TIMESTAMP_UNSPEC,
CTA_TIMESTAMP_START,
CTA_TIMESTAMP_STOP,
__CTA_TIMESTAMP_MAX
} |
|
enum | ctattr_nat {
CTA_NAT_UNSPEC,
CTA_NAT_V4_MINIP,
CTA_NAT_V4_MAXIP,
CTA_NAT_PROTO,
CTA_NAT_V6_MINIP,
CTA_NAT_V6_MAXIP,
__CTA_NAT_MAX
} |
|
enum | ctattr_protonat { CTA_PROTONAT_UNSPEC,
CTA_PROTONAT_PORT_MIN,
CTA_PROTONAT_PORT_MAX,
__CTA_PROTONAT_MAX
} |
|
enum | ctattr_natseq {
CTA_NAT_SEQ_UNSPEC,
CTA_NAT_SEQ_CORRECTION_POS,
CTA_NAT_SEQ_OFFSET_BEFORE,
CTA_NAT_SEQ_OFFSET_AFTER,
__CTA_NAT_SEQ_MAX
} |
|
enum | ctattr_expect {
CTA_EXPECT_UNSPEC,
CTA_EXPECT_MASTER,
CTA_EXPECT_TUPLE,
CTA_EXPECT_MASK,
CTA_EXPECT_TIMEOUT,
CTA_EXPECT_ID,
CTA_EXPECT_HELP_NAME,
CTA_EXPECT_ZONE,
CTA_EXPECT_FLAGS,
CTA_EXPECT_CLASS,
CTA_EXPECT_NAT,
CTA_EXPECT_FN,
__CTA_EXPECT_MAX
} |
|
enum | ctattr_expect_nat { CTA_EXPECT_NAT_UNSPEC,
CTA_EXPECT_NAT_DIR,
CTA_EXPECT_NAT_TUPLE,
__CTA_EXPECT_NAT_MAX
} |
|
enum | ctattr_help { CTA_HELP_UNSPEC,
CTA_HELP_NAME,
CTA_HELP_INFO,
__CTA_HELP_MAX
} |
|
enum | ctattr_secctx { CTA_SECCTX_UNSPEC,
CTA_SECCTX_NAME,
__CTA_SECCTX_MAX
} |
|
enum | ctattr_stats_cpu {
CTA_STATS_UNSPEC,
CTA_STATS_SEARCHED,
CTA_STATS_FOUND,
CTA_STATS_NEW,
CTA_STATS_INVALID,
CTA_STATS_IGNORE,
CTA_STATS_DELETE,
CTA_STATS_DELETE_LIST,
CTA_STATS_INSERT,
CTA_STATS_INSERT_FAILED,
CTA_STATS_DROP,
CTA_STATS_EARLY_DROP,
CTA_STATS_ERROR,
CTA_STATS_SEARCH_RESTART,
__CTA_STATS_MAX
} |
|
enum | ctattr_stats_global { CTA_STATS_GLOBAL_UNSPEC,
CTA_STATS_GLOBAL_ENTRIES,
__CTA_STATS_GLOBAL_MAX
} |
|
enum | ctattr_expect_stats {
CTA_STATS_EXP_UNSPEC,
CTA_STATS_EXP_NEW,
CTA_STATS_EXP_CREATE,
CTA_STATS_EXP_DELETE,
__CTA_STATS_EXP_MAX
} |
|
#define CTA_NAT CTA_NAT_SRC /* backwards compatibility */ |
- Enumerator:
IPCTNL_MSG_CT_NEW |
|
IPCTNL_MSG_CT_GET |
|
IPCTNL_MSG_CT_DELETE |
|
IPCTNL_MSG_CT_GET_CTRZERO |
|
IPCTNL_MSG_CT_GET_STATS_CPU |
|
IPCTNL_MSG_CT_GET_STATS |
|
IPCTNL_MSG_MAX |
|
Definition at line 5 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_COUNTERS_UNSPEC |
|
CTA_COUNTERS_PACKETS |
|
CTA_COUNTERS_BYTES |
|
CTA_COUNTERS32_PACKETS |
|
CTA_COUNTERS32_BYTES |
|
__CTA_COUNTERS_MAX |
|
Definition at line 125 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_EXPECT_UNSPEC |
|
CTA_EXPECT_MASTER |
|
CTA_EXPECT_TUPLE |
|
CTA_EXPECT_MASK |
|
CTA_EXPECT_TIMEOUT |
|
CTA_EXPECT_ID |
|
CTA_EXPECT_HELP_NAME |
|
CTA_EXPECT_ZONE |
|
CTA_EXPECT_FLAGS |
|
CTA_EXPECT_CLASS |
|
CTA_EXPECT_NAT |
|
CTA_EXPECT_FN |
|
__CTA_EXPECT_MAX |
|
Definition at line 173 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_EXPECT_NAT_UNSPEC |
|
CTA_EXPECT_NAT_DIR |
|
CTA_EXPECT_NAT_TUPLE |
|
__CTA_EXPECT_NAT_MAX |
|
Definition at line 190 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_STATS_EXP_UNSPEC |
|
CTA_STATS_EXP_NEW |
|
CTA_STATS_EXP_CREATE |
|
CTA_STATS_EXP_DELETE |
|
__CTA_STATS_EXP_MAX |
|
Definition at line 239 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_HELP_UNSPEC |
|
CTA_HELP_NAME |
|
CTA_HELP_INFO |
|
__CTA_HELP_MAX |
|
Definition at line 198 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_IP_UNSPEC |
|
CTA_IP_V4_SRC |
|
CTA_IP_V4_DST |
|
CTA_IP_V6_SRC |
|
CTA_IP_V6_DST |
|
__CTA_IP_MAX |
|
Definition at line 62 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTO_UNSPEC |
|
CTA_PROTO_NUM |
|
CTA_PROTO_SRC_PORT |
|
CTA_PROTO_DST_PORT |
|
CTA_PROTO_ICMP_ID |
|
CTA_PROTO_ICMP_TYPE |
|
CTA_PROTO_ICMP_CODE |
|
CTA_PROTO_ICMPV6_ID |
|
CTA_PROTO_ICMPV6_TYPE |
|
CTA_PROTO_ICMPV6_CODE |
|
__CTA_PROTO_MAX |
|
Definition at line 72 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_NAT_UNSPEC |
|
CTA_NAT_V4_MINIP |
|
CTA_NAT_V4_MAXIP |
|
CTA_NAT_PROTO |
|
CTA_NAT_V6_MINIP |
|
CTA_NAT_V6_MAXIP |
|
__CTA_NAT_MAX |
|
Definition at line 143 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_NAT_SEQ_UNSPEC |
|
CTA_NAT_SEQ_CORRECTION_POS |
|
CTA_NAT_SEQ_OFFSET_BEFORE |
|
CTA_NAT_SEQ_OFFSET_AFTER |
|
__CTA_NAT_SEQ_MAX |
|
Definition at line 164 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTOINFO_UNSPEC |
|
CTA_PROTOINFO_TCP |
|
CTA_PROTOINFO_DCCP |
|
CTA_PROTOINFO_SCTP |
|
__CTA_PROTOINFO_MAX |
|
Definition at line 87 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTOINFO_DCCP_UNSPEC |
|
CTA_PROTOINFO_DCCP_STATE |
|
CTA_PROTOINFO_DCCP_ROLE |
|
CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ |
|
__CTA_PROTOINFO_DCCP_MAX |
|
Definition at line 107 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTOINFO_SCTP_UNSPEC |
|
CTA_PROTOINFO_SCTP_STATE |
|
CTA_PROTOINFO_SCTP_VTAG_ORIGINAL |
|
CTA_PROTOINFO_SCTP_VTAG_REPLY |
|
__CTA_PROTOINFO_SCTP_MAX |
|
Definition at line 116 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTOINFO_TCP_UNSPEC |
|
CTA_PROTOINFO_TCP_STATE |
|
CTA_PROTOINFO_TCP_WSCALE_ORIGINAL |
|
CTA_PROTOINFO_TCP_WSCALE_REPLY |
|
CTA_PROTOINFO_TCP_FLAGS_ORIGINAL |
|
CTA_PROTOINFO_TCP_FLAGS_REPLY |
|
__CTA_PROTOINFO_TCP_MAX |
|
Definition at line 96 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_PROTONAT_UNSPEC |
|
CTA_PROTONAT_PORT_MIN |
|
CTA_PROTONAT_PORT_MAX |
|
__CTA_PROTONAT_MAX |
|
Definition at line 156 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_STATS_UNSPEC |
|
CTA_STATS_SEARCHED |
|
CTA_STATS_FOUND |
|
CTA_STATS_NEW |
|
CTA_STATS_INVALID |
|
CTA_STATS_IGNORE |
|
CTA_STATS_DELETE |
|
CTA_STATS_DELETE_LIST |
|
CTA_STATS_INSERT |
|
CTA_STATS_INSERT_FAILED |
|
CTA_STATS_DROP |
|
CTA_STATS_EARLY_DROP |
|
CTA_STATS_ERROR |
|
CTA_STATS_SEARCH_RESTART |
|
__CTA_STATS_MAX |
|
Definition at line 213 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_STATS_GLOBAL_UNSPEC |
|
CTA_STATS_GLOBAL_ENTRIES |
|
__CTA_STATS_GLOBAL_MAX |
|
Definition at line 232 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_TIMESTAMP_UNSPEC |
|
CTA_TIMESTAMP_START |
|
CTA_TIMESTAMP_STOP |
|
__CTA_TIMESTAMP_MAX |
|
Definition at line 135 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_TUPLE_UNSPEC |
|
CTA_TUPLE_IP |
|
CTA_TUPLE_PROTO |
|
__CTA_TUPLE_MAX |
|
Definition at line 54 of file nfnetlink_conntrack.h.
- Enumerator:
CTA_UNSPEC |
|
CTA_TUPLE_ORIG |
|
CTA_TUPLE_REPLY |
|
CTA_STATUS |
|
CTA_PROTOINFO |
|
CTA_HELP |
|
CTA_NAT_SRC |
|
CTA_TIMEOUT |
|
CTA_MARK |
|
CTA_COUNTERS_ORIG |
|
CTA_COUNTERS_REPLY |
|
CTA_USE |
|
CTA_ID |
|
CTA_NAT_DST |
|
CTA_TUPLE_MASTER |
|
CTA_NAT_SEQ_ADJ_ORIG |
|
CTA_NAT_SEQ_ADJ_REPLY |
|
CTA_SECMARK |
|
CTA_ZONE |
|
CTA_SECCTX |
|
CTA_TIMESTAMP |
|
CTA_MARK_MASK |
|
__CTA_MAX |
|
Definition at line 26 of file nfnetlink_conntrack.h.
- Enumerator:
IPCTNL_MSG_EXP_NEW |
|
IPCTNL_MSG_EXP_GET |
|
IPCTNL_MSG_EXP_DELETE |
|
IPCTNL_MSG_EXP_GET_STATS_CPU |
|
IPCTNL_MSG_EXP_MAX |
|
Definition at line 16 of file nfnetlink_conntrack.h.