Lines Matching refs:ct
183 static inline void nf_ct_put(struct nf_conn *ct)
185 NF_CT_ASSERT(ct);
186 nf_conntrack_put(&ct->ct_general);
197 extern void nf_conntrack_hash_insert(struct nf_conn *ct);
204 extern void __nf_ct_refresh_acct(struct nf_conn *ct,
211 static inline void nf_ct_refresh_acct(struct nf_conn *ct,
216 __nf_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1);
220 static inline void nf_ct_refresh(struct nf_conn *ct,
224 __nf_ct_refresh_acct(ct, 0, skb, extra_jiffies, 0);
245 extern void nf_conntrack_free(struct nf_conn *ct);
251 static inline int nf_ct_is_confirmed(struct nf_conn *ct)
253 return test_bit(IPS_CONFIRMED_BIT, &ct->status);
256 static inline int nf_ct_is_dying(struct nf_conn *ct)
258 return test_bit(IPS_DYING_BIT, &ct->status);
298 static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct)
302 if (!(ct->features & NF_CT_F_NAT))
306 return (struct nf_conn_nat *) ((void *)ct + offset);
309 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct)
313 if (!(ct->features & NF_CT_F_HELP))
315 if (ct->features & NF_CT_F_NAT) {
321 return (struct nf_conn_help *) ((void *)ct + offset);
324 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct)
328 if (!(ct->features & NF_CT_F_HELP))
332 return (struct nf_conn_help *) ((void *)ct + offset);