Functions | |
int | nfct_parse_tuple (const struct nlattr *attr, struct __nfct_tuple *tuple, int dir, u_int32_t *set) |
int | nfct_payload_parse (const void *payload, size_t payload_len, uint16_t l3num, struct nf_conntrack *ct) |
int | nfct_nlmsg_parse (const struct nlmsghdr *nlh, struct nf_conntrack *ct) |
int nfct_nlmsg_parse | ( | const struct nlmsghdr * | nlh, |
struct nf_conntrack * | ct | ||
) |
References mnl_nlmsg_get_payload(), mnl_nlmsg_get_payload_len(), nfct_payload_parse(), and nfgenmsg::nfgen_family.
Referenced by author_destroy(), author_new(), author_update(), and debug_nfct_cb().
int nfct_parse_tuple | ( | const struct nlattr * | attr, |
struct __nfct_tuple * | tuple, | ||
int | dir, | ||
u_int32_t * | set | ||
) |
References CTA_TUPLE_IP, CTA_TUPLE_MAX, CTA_TUPLE_PROTO, and mnl_attr_parse_nested().
Referenced by nfct_payload_parse(), and nfexp_nlmsg_parse().
int nfct_payload_parse | ( | const void * | payload, |
size_t | payload_len, | ||
uint16_t | l3num, | ||
struct nf_conntrack * | ct | ||
) |
References __DIR_MASTER, __DIR_ORIG, __DIR_REPL, ATTR_ID, ATTR_MARK, ATTR_MASTER_L3PROTO, ATTR_ORIG_L3PROTO, ATTR_REPL_L3PROTO, ATTR_SECMARK, ATTR_STATUS, ATTR_TIMEOUT, ATTR_USE, ATTR_ZONE, CTA_COUNTERS_ORIG, CTA_COUNTERS_REPLY, CTA_HELP, CTA_ID, CTA_LABELS, CTA_MARK, CTA_MAX, CTA_NAT_SEQ_ADJ_ORIG, CTA_NAT_SEQ_ADJ_REPLY, CTA_PROTOINFO, CTA_SECCTX, CTA_SECMARK, CTA_STATUS, CTA_TIMEOUT, CTA_TIMESTAMP, CTA_TUPLE_MASTER, CTA_TUPLE_ORIG, CTA_TUPLE_REPLY, CTA_USE, CTA_ZONE, nf_conntrack::head, nf_conntrack::id, __nfct_tuple::l3protonum, nf_conntrack::mark, nf_conntrack::master, mnl_attr_get_u16(), mnl_attr_get_u32(), mnl_attr_parse_payload(), nfct_parse_tuple(), nfct_tuple_head::orig, nf_conntrack::repl, nf_conntrack::secmark, nfct_tuple_head::set, nf_conntrack::status, nf_conntrack::timeout, nf_conntrack::use, and nf_conntrack::zone.
Referenced by nfct_nlmsg_parse().