Lines Matching refs:ct
35 struct nf_conn *ct;
41 ct = nf_ct_get(skb, &ctinfo);
42 if (ct == NULL)
45 t = &ct->tuplehash[dir].tuple;
52 if (ct->status & statusbit) {
61 if (ct->status & statusbit) {
77 struct nf_conn *ct;
87 ct = nf_ct_get(*pskb, &ctinfo);
92 if (!ct) {
109 if (ct == &nf_conntrack_untracked)
112 nat = nfct_nat(ct);
120 if (!nf_nat_icmp_reply_translation(ct, ctinfo,
131 if (!nf_nat_initialized(ct, maniptype)) {
134 if (unlikely(nf_ct_is_confirmed(ct)))
136 ret = alloc_null_binding_confirmed(ct, hooknum);
139 ret = alloc_null_binding(ct, hooknum);
142 ct);
148 ipt_cone_place_in_hashes(ct);
151 DEBUGP("Already setup manip %s for ct %p\n",
153 ct);
162 return nf_nat_packet(ct, ctinfo, hooknum, pskb);
192 struct nf_conn *ct;
205 (ct = nf_ct_get(*pskb, &ctinfo)) != NULL) {
208 if (ct->tuplehash[dir].tuple.src.u3.ip !=
209 ct->tuplehash[!dir].tuple.dst.u3.ip
210 || ct->tuplehash[dir].tuple.src.u.all !=
211 ct->tuplehash[!dir].tuple.dst.u.all
226 struct nf_conn *ct;
237 (ct = nf_ct_get(*pskb, &ctinfo)) != NULL) {
240 if (ct->tuplehash[dir].tuple.dst.u3.ip !=
241 ct->tuplehash[!dir].tuple.src.u3.ip) {
246 else if (ct->tuplehash[dir].tuple.dst.u.all !=
247 ct->tuplehash[!dir].tuple.src.u.all)
262 struct nf_conn *ct;
265 ct = nf_ct_get(*pskb, &ctinfo);
266 if (ct && test_bit(IPS_SEQ_ADJUST_BIT, &ct->status)) {
268 if (!nf_nat_seq_adjust(pskb, ct, ctinfo))