|
enum | {
CONNTRACK = NFNL_SUBSYS_CTNETLINK,
EXPECT = NFNL_SUBSYS_CTNETLINK_EXP
} |
|
enum | nf_conntrack_attr {
ATTR_ORIG_IPV4_SRC = 0,
ATTR_IPV4_SRC = ATTR_ORIG_IPV4_SRC,
ATTR_ORIG_IPV4_DST,
ATTR_IPV4_DST = ATTR_ORIG_IPV4_DST,
ATTR_REPL_IPV4_SRC,
ATTR_REPL_IPV4_DST,
ATTR_ORIG_IPV6_SRC = 4,
ATTR_IPV6_SRC = ATTR_ORIG_IPV6_SRC,
ATTR_ORIG_IPV6_DST,
ATTR_IPV6_DST = ATTR_ORIG_IPV6_DST,
ATTR_REPL_IPV6_SRC,
ATTR_REPL_IPV6_DST,
ATTR_ORIG_PORT_SRC = 8,
ATTR_PORT_SRC = ATTR_ORIG_PORT_SRC,
ATTR_ORIG_PORT_DST,
ATTR_PORT_DST = ATTR_ORIG_PORT_DST,
ATTR_REPL_PORT_SRC,
ATTR_REPL_PORT_DST,
ATTR_ICMP_TYPE = 12,
ATTR_ICMP_CODE,
ATTR_ICMP_ID,
ATTR_ORIG_L3PROTO,
ATTR_L3PROTO = ATTR_ORIG_L3PROTO,
ATTR_REPL_L3PROTO = 16,
ATTR_ORIG_L4PROTO,
ATTR_L4PROTO = ATTR_ORIG_L4PROTO,
ATTR_REPL_L4PROTO,
ATTR_TCP_STATE,
ATTR_SNAT_IPV4 = 20,
ATTR_DNAT_IPV4,
ATTR_SNAT_PORT,
ATTR_DNAT_PORT,
ATTR_TIMEOUT = 24,
ATTR_MARK,
ATTR_ORIG_COUNTER_PACKETS,
ATTR_REPL_COUNTER_PACKETS,
ATTR_ORIG_COUNTER_BYTES = 28,
ATTR_REPL_COUNTER_BYTES,
ATTR_USE,
ATTR_ID,
ATTR_STATUS = 32,
ATTR_TCP_FLAGS_ORIG,
ATTR_TCP_FLAGS_REPL,
ATTR_TCP_MASK_ORIG,
ATTR_TCP_MASK_REPL = 36,
ATTR_MASTER_IPV4_SRC,
ATTR_MASTER_IPV4_DST,
ATTR_MASTER_IPV6_SRC,
ATTR_MASTER_IPV6_DST = 40,
ATTR_MASTER_PORT_SRC,
ATTR_MASTER_PORT_DST,
ATTR_MASTER_L3PROTO,
ATTR_MASTER_L4PROTO = 44,
ATTR_SECMARK,
ATTR_ORIG_NAT_SEQ_CORRECTION_POS,
ATTR_ORIG_NAT_SEQ_OFFSET_BEFORE,
ATTR_ORIG_NAT_SEQ_OFFSET_AFTER = 48,
ATTR_REPL_NAT_SEQ_CORRECTION_POS,
ATTR_REPL_NAT_SEQ_OFFSET_BEFORE,
ATTR_REPL_NAT_SEQ_OFFSET_AFTER,
ATTR_SCTP_STATE = 52,
ATTR_SCTP_VTAG_ORIG,
ATTR_SCTP_VTAG_REPL,
ATTR_HELPER_NAME,
ATTR_DCCP_STATE = 56,
ATTR_DCCP_ROLE,
ATTR_DCCP_HANDSHAKE_SEQ,
ATTR_TCP_WSCALE_ORIG,
ATTR_TCP_WSCALE_REPL = 60,
ATTR_ZONE,
ATTR_SECCTX,
ATTR_TIMESTAMP_START,
ATTR_TIMESTAMP_STOP = 64,
ATTR_HELPER_INFO,
ATTR_CONNLABELS,
ATTR_CONNLABELS_MASK,
ATTR_MAX
} |
|
enum | nf_conntrack_attr_grp {
ATTR_GRP_ORIG_IPV4 = 0,
ATTR_GRP_REPL_IPV4,
ATTR_GRP_ORIG_IPV6,
ATTR_GRP_REPL_IPV6,
ATTR_GRP_ORIG_PORT = 4,
ATTR_GRP_REPL_PORT,
ATTR_GRP_ICMP,
ATTR_GRP_MASTER_IPV4,
ATTR_GRP_MASTER_IPV6 = 8,
ATTR_GRP_MASTER_PORT,
ATTR_GRP_ORIG_COUNTERS,
ATTR_GRP_REPL_COUNTERS,
ATTR_GRP_ORIG_ADDR_SRC = 12,
ATTR_GRP_ORIG_ADDR_DST,
ATTR_GRP_REPL_ADDR_SRC,
ATTR_GRP_REPL_ADDR_DST,
ATTR_GRP_MAX
} |
|
enum | nf_conntrack_msg_type {
NFCT_T_UNKNOWN = 0,
NFCT_T_NEW_BIT = 0,
NFCT_T_NEW = (1 << NFCT_T_NEW_BIT),
NFCT_T_UPDATE_BIT = 1,
NFCT_T_UPDATE = (1 << NFCT_T_UPDATE_BIT),
NFCT_T_DESTROY_BIT = 2,
NFCT_T_DESTROY = (1 << NFCT_T_DESTROY_BIT),
NFCT_T_ALL = NFCT_T_NEW | NFCT_T_UPDATE | NFCT_T_DESTROY,
NFCT_T_ERROR_BIT = 31,
NFCT_T_ERROR = (1 << NFCT_T_ERROR_BIT)
} |
|
enum | {
NFCT_SOPT_UNDO_SNAT,
NFCT_SOPT_UNDO_DNAT,
NFCT_SOPT_UNDO_SPAT,
NFCT_SOPT_UNDO_DPAT,
NFCT_SOPT_SETUP_ORIGINAL,
NFCT_SOPT_SETUP_REPLY,
__NFCT_SOPT_MAX
} |
|
enum | {
NFCT_GOPT_IS_SNAT,
NFCT_GOPT_IS_DNAT,
NFCT_GOPT_IS_SPAT,
NFCT_GOPT_IS_DPAT,
__NFCT_GOPT_MAX
} |
|
enum | {
NFCT_CB_FAILURE = -1,
NFCT_CB_STOP = 0,
NFCT_CB_CONTINUE = 1,
NFCT_CB_STOLEN = 2
} |
|
enum | {
NFCT_O_PLAIN,
NFCT_O_DEFAULT = NFCT_O_PLAIN,
NFCT_O_XML,
NFCT_O_MAX
} |
|
enum | {
NFCT_OF_SHOW_LAYER3_BIT = 0,
NFCT_OF_SHOW_LAYER3 = (1 << NFCT_OF_SHOW_LAYER3_BIT),
NFCT_OF_TIME_BIT = 1,
NFCT_OF_TIME = (1 << NFCT_OF_TIME_BIT),
NFCT_OF_ID_BIT = 2,
NFCT_OF_ID = (1 << NFCT_OF_ID_BIT),
NFCT_OF_TIMESTAMP_BIT = 3,
NFCT_OF_TIMESTAMP = (1 << NFCT_OF_TIMESTAMP_BIT)
} |
|
enum | {
NFCT_CMP_ALL = 0,
NFCT_CMP_ORIG = (1 << 0),
NFCT_CMP_REPL = (1 << 1),
NFCT_CMP_TIMEOUT_EQ = (1 << 2),
NFCT_CMP_TIMEOUT_GT = (1 << 3),
NFCT_CMP_TIMEOUT_GE = (NFCT_CMP_TIMEOUT_EQ | NFCT_CMP_TIMEOUT_GT),
NFCT_CMP_TIMEOUT_LT = (1 << 4),
NFCT_CMP_TIMEOUT_LE = (NFCT_CMP_TIMEOUT_EQ | NFCT_CMP_TIMEOUT_LT),
NFCT_CMP_MASK = (1 << 5),
NFCT_CMP_STRICT = (1 << 6)
} |
|
enum | nf_conntrack_query {
NFCT_Q_CREATE,
NFCT_Q_UPDATE,
NFCT_Q_DESTROY,
NFCT_Q_GET,
NFCT_Q_FLUSH,
NFCT_Q_DUMP,
NFCT_Q_DUMP_RESET,
NFCT_Q_CREATE_UPDATE,
NFCT_Q_DUMP_FILTER,
NFCT_Q_DUMP_FILTER_RESET
} |
|
enum | {
NFCT_CP_ALL = 0,
NFCT_CP_ORIG = (1 << 0),
NFCT_CP_REPL = (1 << 1),
NFCT_CP_META = (1 << 2),
NFCT_CP_OVERRIDE = (1 << 3)
} |
|
enum | nfct_filter_attr {
NFCT_FILTER_L4PROTO = 0,
NFCT_FILTER_L4PROTO_STATE,
NFCT_FILTER_SRC_IPV4,
NFCT_FILTER_DST_IPV4,
NFCT_FILTER_SRC_IPV6,
NFCT_FILTER_DST_IPV6,
NFCT_FILTER_MAX
} |
|
enum | nfct_filter_logic {
NFCT_FILTER_LOGIC_POSITIVE,
NFCT_FILTER_LOGIC_NEGATIVE,
NFCT_FILTER_LOGIC_MAX
} |
|
enum | nfct_filter_dump_attr {
NFCT_FILTER_DUMP_MARK = 0,
NFCT_FILTER_DUMP_L3NUM,
NFCT_FILTER_DUMP_MAX
} |
|
enum | nf_expect_attr {
ATTR_EXP_MASTER = 0,
ATTR_EXP_EXPECTED,
ATTR_EXP_MASK,
ATTR_EXP_TIMEOUT,
ATTR_EXP_ZONE,
ATTR_EXP_FLAGS,
ATTR_EXP_HELPER_NAME,
ATTR_EXP_CLASS,
ATTR_EXP_NAT_TUPLE,
ATTR_EXP_NAT_DIR,
ATTR_EXP_FN,
ATTR_EXP_MAX
} |
|
enum | ip_conntrack_status {
IPS_EXPECTED_BIT = 0,
IPS_EXPECTED = (1 << IPS_EXPECTED_BIT),
IPS_SEEN_REPLY_BIT = 1,
IPS_SEEN_REPLY = (1 << IPS_SEEN_REPLY_BIT),
IPS_ASSURED_BIT = 2,
IPS_ASSURED = (1 << IPS_ASSURED_BIT),
IPS_CONFIRMED_BIT = 3,
IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT),
IPS_SRC_NAT_BIT = 4,
IPS_SRC_NAT = (1 << IPS_SRC_NAT_BIT),
IPS_DST_NAT_BIT = 5,
IPS_DST_NAT = (1 << IPS_DST_NAT_BIT),
IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT),
IPS_SEQ_ADJUST_BIT = 6,
IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT),
IPS_SRC_NAT_DONE_BIT = 7,
IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT),
IPS_DST_NAT_DONE_BIT = 8,
IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT),
IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE),
IPS_DYING_BIT = 9,
IPS_DYING = (1 << IPS_DYING_BIT),
IPS_FIXED_TIMEOUT_BIT = 10,
IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT),
IPS_TEMPLATE_BIT = 11,
IPS_TEMPLATE = (1 << IPS_TEMPLATE_BIT),
IPS_UNTRACKED_BIT = 12,
IPS_UNTRACKED = (1 << IPS_UNTRACKED_BIT),
IPS_EXPECTED_BIT = 0,
IPS_EXPECTED = (1 << IPS_EXPECTED_BIT),
IPS_SEEN_REPLY_BIT = 1,
IPS_SEEN_REPLY = (1 << IPS_SEEN_REPLY_BIT),
IPS_ASSURED_BIT = 2,
IPS_ASSURED = (1 << IPS_ASSURED_BIT),
IPS_CONFIRMED_BIT = 3,
IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT),
IPS_SRC_NAT_BIT = 4,
IPS_SRC_NAT = (1 << IPS_SRC_NAT_BIT),
IPS_DST_NAT_BIT = 5,
IPS_DST_NAT = (1 << IPS_DST_NAT_BIT),
IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT),
IPS_SEQ_ADJUST_BIT = 6,
IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT),
IPS_SRC_NAT_DONE_BIT = 7,
IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT),
IPS_DST_NAT_DONE_BIT = 8,
IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT),
IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE),
IPS_DYING_BIT = 9,
IPS_DYING = (1 << IPS_DYING_BIT),
IPS_FIXED_TIMEOUT_BIT = 10,
IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT),
IPS_TEMPLATE_BIT = 11,
IPS_TEMPLATE = (1 << IPS_TEMPLATE_BIT),
IPS_UNTRACKED_BIT = 12,
IPS_UNTRACKED = (1 << IPS_UNTRACKED_BIT),
IPS_EXPECTED_BIT = 0,
IPS_EXPECTED = (1 << IPS_EXPECTED_BIT),
IPS_SEEN_REPLY_BIT = 1,
IPS_SEEN_REPLY = (1 << IPS_SEEN_REPLY_BIT),
IPS_ASSURED_BIT = 2,
IPS_ASSURED = (1 << IPS_ASSURED_BIT),
IPS_CONFIRMED_BIT = 3,
IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT),
IPS_SRC_NAT_BIT = 4,
IPS_SRC_NAT = (1 << IPS_SRC_NAT_BIT),
IPS_DST_NAT_BIT = 5,
IPS_DST_NAT = (1 << IPS_DST_NAT_BIT),
IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT),
IPS_SEQ_ADJUST_BIT = 6,
IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT),
IPS_SRC_NAT_DONE_BIT = 7,
IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT),
IPS_DST_NAT_DONE_BIT = 8,
IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT),
IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE),
IPS_DYING_BIT = 9,
IPS_DYING = (1 << IPS_DYING_BIT),
IPS_FIXED_TIMEOUT_BIT = 10,
IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT)
} |
|
|
struct nfct_handle * | nfct_open (u_int8_t, unsigned) |
| nfct_open - open a ctnetlink handler More...
|
|
struct nfct_handle * | nfct_open_nfnl (struct nfnl_handle *nfnlh, u_int8_t subsys_id, unsigned int subscriptions) |
|
int | nfct_close (struct nfct_handle *cth) |
| nfct_close - close a ctnetlink handler More...
|
|
int | nfct_fd (struct nfct_handle *cth) |
| nfct_fd - get the Netlink file descriptor of one existing ctnetlink handler More...
|
|
const struct nfnl_handle * | nfct_nfnlh (struct nfct_handle *cth) |
|
struct nf_conntrack * | nfct_new (void) |
| nfct_conntrack_new - allocate a new conntrack More...
|
|
void | nfct_destroy (struct nf_conntrack *ct) |
| nf_conntrack_destroy - release a conntrack object More...
|
|
struct nf_conntrack * | nfct_clone (const struct nf_conntrack *ct) |
| nfct_clone - clone a conntrack object More...
|
|
| __attribute__ ((deprecated)) size_t nfct_sizeof(const struct nf_conntrack *ct) |
|
int | nfct_setobjopt (struct nf_conntrack *ct, unsigned int option) |
| nfct_setobjopt - set a certain option for a conntrack object More...
|
|
int | nfct_getobjopt (const struct nf_conntrack *ct, unsigned int option) |
| nfct_getobjopt - get a certain option for a conntrack object More...
|
|
int | nfct_callback_register (struct nfct_handle *h, enum nf_conntrack_msg_type type, int(*cb)(enum nf_conntrack_msg_type type, struct nf_conntrack *ct, void *data), void *data) |
| nf_callback_register - register a callback More...
|
|
void | nfct_callback_unregister (struct nfct_handle *h) |
| nfct_callback_unregister - unregister a callback More...
|
|
int | nfct_callback_register2 (struct nfct_handle *h, enum nf_conntrack_msg_type type, int(*cb)(const struct nlmsghdr *nlh, enum nf_conntrack_msg_type type, struct nf_conntrack *ct, void *data), void *data) |
| nf_callback_register2 - register a callback More...
|
|
void | nfct_callback_unregister2 (struct nfct_handle *h) |
| nfct_callback_unregister2 - unregister a callback More...
|
|
struct nfct_bitmask * | nfct_bitmask_new (unsigned int maxbit) |
| nfct_bitmask_new - allocate a new bitmask More...
|
|
struct nfct_bitmask * | nfct_bitmask_clone (const struct nfct_bitmask *) |
|
unsigned int | nfct_bitmask_maxbit (const struct nfct_bitmask *) |
|
void | nfct_bitmask_set_bit (struct nfct_bitmask *, unsigned int bit) |
|
int | nfct_bitmask_test_bit (const struct nfct_bitmask *, unsigned int bit) |
|
void | nfct_bitmask_unset_bit (struct nfct_bitmask *, unsigned int bit) |
|
void | nfct_bitmask_destroy (struct nfct_bitmask *) |
|
void | nfct_bitmask_clear (struct nfct_bitmask *) |
|
bool | nfct_bitmask_equal (const struct nfct_bitmask *, const struct nfct_bitmask *) |
|
struct nfct_labelmap * | nfct_labelmap_new (const char *mapfile) |
| nfct_labelmap_new - create a new label map More...
|
|
void | nfct_labelmap_destroy (struct nfct_labelmap *map) |
| nfct_labelmap_destroy - destroy nfct_labelmap object More...
|
|
const char * | nfct_labelmap_get_name (struct nfct_labelmap *m, unsigned int bit) |
| nfct_labelmap_get_name - get name of the label bit More...
|
|
int | nfct_labelmap_get_bit (struct nfct_labelmap *m, const char *name) |
| nfct_labelmap_get_bit - get bit associated with the name More...
|
|
void | nfct_set_attr (struct nf_conntrack *ct, const enum nf_conntrack_attr type, const void *value) |
| nfct_set_attr - set the value of a certain conntrack attribute More...
|
|
void | nfct_set_attr_u8 (struct nf_conntrack *ct, const enum nf_conntrack_attr type, u_int8_t value) |
| nfct_set_attr_u8 - set the value of a certain conntrack attribute More...
|
|
void | nfct_set_attr_u16 (struct nf_conntrack *ct, const enum nf_conntrack_attr type, u_int16_t value) |
| nfct_set_attr_u16 - set the value of a certain conntrack attribute More...
|
|
void | nfct_set_attr_u32 (struct nf_conntrack *ct, const enum nf_conntrack_attr type, u_int32_t value) |
| nfct_set_attr_u32 - set the value of a certain conntrack attribute More...
|
|
void | nfct_set_attr_u64 (struct nf_conntrack *ct, const enum nf_conntrack_attr type, u_int64_t value) |
| nfct_set_attr_u64 - set the value of a certain conntrack attribute More...
|
|
void | nfct_set_attr_l (struct nf_conntrack *ct, const enum nf_conntrack_attr type, const void *value, size_t len) |
| nfct_set_attr_l - set the value of a certain conntrack attribute More...
|
|
const void * | nfct_get_attr (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_get_attr - get a conntrack attribute More...
|
|
u_int8_t | nfct_get_attr_u8 (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_get_attr_u8 - get attribute of unsigned 8-bits long More...
|
|
u_int16_t | nfct_get_attr_u16 (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_get_attr_u16 - get attribute of unsigned 16-bits long More...
|
|
u_int32_t | nfct_get_attr_u32 (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_get_attr_u32 - get attribute of unsigned 32-bits long More...
|
|
u_int64_t | nfct_get_attr_u64 (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_get_attr_u64 - get attribute of unsigned 32-bits long More...
|
|
int | nfct_attr_is_set (const struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_attr_is_set - check if a certain attribute is set More...
|
|
int | nfct_attr_is_set_array (const struct nf_conntrack *ct, const enum nf_conntrack_attr *type_array, int size) |
| nfct_attr_is_set_array - check if an array of attribute types is set More...
|
|
int | nfct_attr_unset (struct nf_conntrack *ct, const enum nf_conntrack_attr type) |
| nfct_attr_unset - unset a certain attribute More...
|
|
void | nfct_set_attr_grp (struct nf_conntrack *ct, const enum nf_conntrack_attr_grp type, const void *value) |
| nfct_set_attr_grp - set a group of attributes More...
|
|
int | nfct_get_attr_grp (const struct nf_conntrack *ct, const enum nf_conntrack_attr_grp type, void *data) |
| nfct_get_attr_grp - get an attribute group More...
|
|
int | nfct_attr_grp_is_set (const struct nf_conntrack *ct, const enum nf_conntrack_attr_grp type) |
| nfct_attr_grp_is_set - check if an attribute group is set More...
|
|
int | nfct_attr_grp_unset (struct nf_conntrack *ct, const enum nf_conntrack_attr_grp type) |
| nfct_attr_grp_unset - unset an attribute group More...
|
|
int | nfct_snprintf (char *buf, unsigned int size, const struct nf_conntrack *ct, const unsigned int msg_type, const unsigned int out_type, const unsigned int out_flags) |
| nfct_snprintf - print a conntrack object to a buffer More...
|
|
int | nfct_snprintf_labels (char *buf, unsigned int size, const struct nf_conntrack *ct, const unsigned int msg_type, const unsigned int out_type, const unsigned int out_flags, struct nfct_labelmap *map) |
| nfct_snprintf_labels - print a bitmask object to a buffer including labels More...
|
|
int | nfct_compare (const struct nf_conntrack *ct1, const struct nf_conntrack *ct2) |
| nfct_compare - compare two conntrack objects More...
|
|
int | nfct_cmp (const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags) |
| nfct_cmp - compare two conntrack objects More...
|
|
int | nfct_query (struct nfct_handle *h, const enum nf_conntrack_query query, const void *data) |
| nfct_query - send a query to ctnetlink and handle the reply More...
|
|
int | nfct_send (struct nfct_handle *h, const enum nf_conntrack_query query, const void *data) |
| nfct_send - send a query to ctnetlink More...
|
|
int | nfct_catch (struct nfct_handle *h) |
| nfct_catch - catch events More...
|
|
void | nfct_copy (struct nf_conntrack *dest, const struct nf_conntrack *source, unsigned int flags) |
| nfct_copy - copy part of one source object to another More...
|
|
void | nfct_copy_attr (struct nf_conntrack *ct1, const struct nf_conntrack *ct2, const enum nf_conntrack_attr type) |
| nfct_copy_attr - copy an attribute of one source object to another More...
|
|
struct nfct_filter * | nfct_filter_create (void) |
| nfct_filter_create - create a filter More...
|
|
void | nfct_filter_destroy (struct nfct_filter *filter) |
| nfct_filter_destroy - destroy a filter More...
|
|
void | nfct_filter_add_attr (struct nfct_filter *filter, const enum nfct_filter_attr attr, const void *value) |
| nfct_filter_add_attr - add a filter attribute of the filter object More...
|
|
void | nfct_filter_add_attr_u32 (struct nfct_filter *filter, const enum nfct_filter_attr attr, const u_int32_t value) |
| nfct_filter_add_attr_u32 - add an u32 filter attribute of the filter object More...
|
|
int | nfct_filter_set_logic (struct nfct_filter *filter, const enum nfct_filter_attr attr, const enum nfct_filter_logic logic) |
| nfct_filter_set_logic - set the filter logic for an attribute type More...
|
|
int | nfct_filter_attach (int fd, struct nfct_filter *filter) |
| nfct_filter_attach - attach a filter to a socket descriptor More...
|
|
int | nfct_filter_detach (int fd) |
| nfct_filter_detach - detach an existing filter More...
|
|
struct nfct_filter_dump * | nfct_filter_dump_create (void) |
| nfct_filter_dump_create - create a dump filter More...
|
|
void | nfct_filter_dump_destroy (struct nfct_filter_dump *filter) |
| nfct_filter_dump_destroy - destroy a dump filter More...
|
|
void | nfct_filter_dump_set_attr (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, const void *data) |
| nfct_filter_dump_attr_set - set filter attribute More...
|
|
void | nfct_filter_dump_set_attr_u8 (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, u_int8_t data) |
| nfct_filter_dump_attr_set_u8 - set u8 dump filter attribute More...
|
|
int | nfct_nlmsg_build (struct nlmsghdr *nlh, const struct nf_conntrack *ct) |
|
int | nfct_nlmsg_parse (const struct nlmsghdr *nlh, struct nf_conntrack *ct) |
|
int | nfct_payload_parse (const void *payload, size_t payload_len, uint16_t l3num, struct nf_conntrack *ct) |
|
struct nf_expect * | nfexp_new (void) |
| nfexp_new - allocate a new expectation More...
|
|
void | nfexp_destroy (struct nf_expect *exp) |
| nfexp_destroy - release an expectation object More...
|
|
struct nf_expect * | nfexp_clone (const struct nf_expect *exp) |
| nfexp_clone - clone a expectation object More...
|
|
size_t | nfexp_sizeof (const struct nf_expect *exp) |
| nfexp_sizeof - return the size in bytes of a certain expect object More...
|
|
size_t | nfexp_maxsize (void) |
| nfexp_maxsize - return the maximum size in bytes of a expect object More...
|
|
int | nfexp_callback_register (struct nfct_handle *h, enum nf_conntrack_msg_type type, int(*cb)(enum nf_conntrack_msg_type type, struct nf_expect *exp, void *data), void *data) |
| nfexp_callback_register - register a callback More...
|
|
void | nfexp_callback_unregister (struct nfct_handle *h) |
| nfexp_callback_unregister - unregister a callback More...
|
|
int | nfexp_callback_register2 (struct nfct_handle *h, enum nf_conntrack_msg_type type, int(*cb)(const struct nlmsghdr *nlh, enum nf_conntrack_msg_type type, struct nf_expect *exp, void *data), void *data) |
| nfexp_callback_register2 - register a callback More...
|
|
void | nfexp_callback_unregister2 (struct nfct_handle *h) |
| nfexp_callback_unregister2 - unregister a callback More...
|
|
void | nfexp_set_attr (struct nf_expect *exp, const enum nf_expect_attr type, const void *value) |
| nfexp_set_attr - set the value of a certain expect attribute More...
|
|
void | nfexp_set_attr_u8 (struct nf_expect *exp, const enum nf_expect_attr type, u_int8_t value) |
| nfexp_set_attr_u8 - set the value of a certain expect attribute More...
|
|
void | nfexp_set_attr_u16 (struct nf_expect *exp, const enum nf_expect_attr type, u_int16_t value) |
| nfexp_set_attr_u16 - set the value of a certain expect attribute More...
|
|
void | nfexp_set_attr_u32 (struct nf_expect *exp, const enum nf_expect_attr type, u_int32_t value) |
| nfexp_set_attr_u32 - set the value of a certain expect attribute More...
|
|
const void * | nfexp_get_attr (const struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_get_attr - get an expect attribute More...
|
|
u_int8_t | nfexp_get_attr_u8 (const struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_get_attr_u8 - get attribute of unsigned 8-bits long More...
|
|
u_int16_t | nfexp_get_attr_u16 (const struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_get_attr_u16 - get attribute of unsigned 16-bits long More...
|
|
u_int32_t | nfexp_get_attr_u32 (const struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_get_attr_u32 - get attribute of unsigned 32-bits long More...
|
|
int | nfexp_attr_is_set (const struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_attr_is_set - check if a certain attribute is set More...
|
|
int | nfexp_attr_unset (struct nf_expect *exp, const enum nf_expect_attr type) |
| nfexp_attr_unset - unset a certain attribute More...
|
|
int | nfexp_query (struct nfct_handle *h, const enum nf_conntrack_query qt, const void *data) |
| nfexp_query - send a query to ctnetlink More...
|
|
int | nfexp_snprintf (char *buf, unsigned int size, const struct nf_expect *exp, const unsigned int msg_type, const unsigned int out_type, const unsigned int out_flags) |
| nfexp_snprintf - print a conntrack object to a buffer More...
|
|
int | nfexp_cmp (const struct nf_expect *exp1, const struct nf_expect *exp2, unsigned int flags) |
| nfexp_cmp - compare two expectation objects More...
|
|
int | nfexp_send (struct nfct_handle *h, const enum nf_conntrack_query qt, const void *data) |
| nfexp_send - send a query to ctnetlink More...
|
|
int | nfexp_catch (struct nfct_handle *h) |
| nfexp_catch - catch events More...
|
|
int | nfexp_nlmsg_build (struct nlmsghdr *nlh, const struct nf_expect *exp) |
|
int | nfexp_nlmsg_parse (const struct nlmsghdr *nlh, struct nf_expect *exp) |
|