Lines Matching refs:ct
126 static int snmp_translate(struct nf_conn *ct, int dir, struct sk_buff *skb)
136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip;
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip;
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip;
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip;
150 nf_ct_helper_log(skb, ct, "parser failed\n");
161 struct nf_conn *ct,
176 if (!(ct->status & IPS_NAT_MASK))
185 nf_ct_helper_log(skb, ct, "dropping malformed packet\n");
190 nf_ct_helper_log(skb, ct, "cannot mangle packet");
195 ret = snmp_translate(ct, dir, skb);