Lines Matching refs:ct
344 static void update_nl_seq(struct nf_conn *ct, u32 nl_seq,
371 struct nf_conn *ct,
382 struct nf_ct_ftp_master *ct_ftp_info = nfct_help_data(ct);
413 /* seqadj (nat) uses ct->lock internally, nf_nat_ftp would cause deadlock */
441 cmd.l3num = nf_ct_l3num(ct);
442 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all,
461 nf_ct_helper_log(skb, ct, "partial matching of `%s'",
474 exp = nf_ct_expect_alloc(ct);
476 nf_ct_helper_log(skb, ct, "cannot alloc expectation");
484 daddr = &ct->tuplehash[!dir].tuple.dst.u3;
487 if ((cmd.l3num == nf_ct_l3num(ct)) &&
488 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all,
497 &ct->tuplehash[dir].tuple.src.u3.ip);
501 ct->tuplehash[dir].tuple.src.u3.ip6);
516 &ct->tuplehash[!dir].tuple.src.u3, daddr,
522 if (nf_nat_ftp && ct->status & IPS_NAT_MASK)
528 nf_ct_helper_log(skb, ct, "cannot add expectation");
541 update_nl_seq(ct, seq, ct_ftp_info, dir, skb);
547 static int nf_ct_ftp_from_nlattr(struct nlattr *attr, struct nf_conn *ct)
549 struct nf_ct_ftp_master *ftp = nfct_help_data(ct);