Functions | |
void | __parse_tuple (const struct nfattr *attr, struct __nfct_tuple *tuple, int dir, u_int32_t *set) |
int | __parse_message_type (const struct nlmsghdr *nlh) |
void | __parse_conntrack (const struct nlmsghdr *nlh, struct nfattr *cda[], struct nf_conntrack *ct) |
void __parse_conntrack | ( | const struct nlmsghdr * | nlh, |
struct nfattr * | cda[], | ||
struct nf_conntrack * | ct | ||
) |
References __DIR_MASTER, __DIR_ORIG, __DIR_REPL, __parse_tuple(), 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_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, NFA_DATA, nfgenmsg::nfgen_family, NLMSG_DATA, 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 __callback(), and nfct_parse_conntrack().
References flags, IPCTNL_MSG_CT_DELETE, IPCTNL_MSG_CT_NEW, NFCT_T_DESTROY, NFCT_T_NEW, NFCT_T_UNKNOWN, NFCT_T_UPDATE, NFNL_MSG_TYPE, NLM_F_CREATE, NLM_F_EXCL, nlmsghdr::nlmsg_flags, and nlmsghdr::nlmsg_type.
Referenced by nfct_parse_conntrack().
void __parse_tuple | ( | const struct nfattr * | attr, |
struct __nfct_tuple * | tuple, | ||
int | dir, | ||
u_int32_t * | set | ||
) |
References CTA_TUPLE_IP, CTA_TUPLE_MAX, CTA_TUPLE_PROTO, and nfnl_parse_nested.
Referenced by __parse_conntrack(), and __parse_expect().