Functions | |
int | nfct_build_tuple (struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type) |
int | nfct_nlmsg_build (struct nlmsghdr *nlh, const struct nf_conntrack *ct) |
int nfct_build_tuple | ( | struct nlmsghdr * | nlh, |
const struct __nfct_tuple * | t, | ||
int | type | ||
) |
References mnl_attr_nest_cancel(), mnl_attr_nest_end(), mnl_attr_nest_start(), and NULL.
Referenced by nfct_nlmsg_build(), and nfexp_nlmsg_build().
int nfct_nlmsg_build | ( | struct nlmsghdr * | nlh, |
const struct nf_conntrack * | ct | ||
) |
References __DIR_ORIG, __DIR_REPL, ATTR_CONNLABELS, ATTR_DNAT_IPV4, ATTR_DNAT_PORT, ATTR_HELPER_NAME, ATTR_ICMP_CODE, ATTR_ICMP_ID, ATTR_ICMP_TYPE, ATTR_MARK, ATTR_MASTER_IPV4_DST, ATTR_MASTER_IPV4_SRC, ATTR_MASTER_IPV6_DST, ATTR_MASTER_IPV6_SRC, ATTR_MASTER_L3PROTO, ATTR_MASTER_L4PROTO, ATTR_MASTER_PORT_DST, ATTR_MASTER_PORT_SRC, ATTR_ORIG_IPV4_DST, ATTR_ORIG_IPV4_SRC, ATTR_ORIG_IPV6_DST, ATTR_ORIG_IPV6_SRC, ATTR_ORIG_L3PROTO, ATTR_ORIG_L4PROTO, ATTR_ORIG_NAT_SEQ_CORRECTION_POS, ATTR_ORIG_NAT_SEQ_OFFSET_AFTER, ATTR_ORIG_NAT_SEQ_OFFSET_BEFORE, ATTR_ORIG_PORT_DST, ATTR_ORIG_PORT_SRC, ATTR_REPL_IPV4_DST, ATTR_REPL_IPV4_SRC, ATTR_REPL_IPV6_DST, ATTR_REPL_IPV6_SRC, ATTR_REPL_L3PROTO, ATTR_REPL_L4PROTO, ATTR_REPL_NAT_SEQ_CORRECTION_POS, ATTR_REPL_NAT_SEQ_OFFSET_AFTER, ATTR_REPL_NAT_SEQ_OFFSET_BEFORE, ATTR_REPL_PORT_DST, ATTR_REPL_PORT_SRC, ATTR_SECMARK, ATTR_SNAT_IPV4, ATTR_SNAT_PORT, ATTR_STATUS, ATTR_TIMEOUT, ATTR_ZONE, CTA_TUPLE_MASTER, CTA_TUPLE_ORIG, CTA_TUPLE_REPLY, nf_conntrack::head, nf_conntrack::master, nfct_build_tuple(), nfct_tuple_head::orig, nf_conntrack::repl, and nfct_tuple_head::set.