11 #include <linux/netfilter.h>
12 #include <linux/netfilter/nfnetlink.h>
20 struct nfq_ct_hook *nfq_ct;
28 ct = nf_ct_get(entskb, ctinfo);
30 if (!nf_ct_is_untracked(ct))
31 *size += nfq_ct->build_size(ct);
42 struct nfq_ct_hook *nfq_ct;
50 ct = nf_ct_get(skb, ctinfo);
51 if (ct && !nf_ct_is_untracked(ct))
52 nfq_ct->parse(attr, ct);
60 struct nfq_ct_hook *nfq_ct;
72 if (nfq_ct->build(skb, ct) < 0)
75 nla_nest_end(skb, nest_parms);
90 struct nfq_ct_nat_hook *nfq_nat_ct;
93 if (nfq_nat_ct ==
NULL)
97 nfq_nat_ct->seq_adjust(skb, ct, ctinfo, diff);