Searched refs:nfct (Results 1 – 6 of 6) sorted by relevance
30 void nf_conntrack_destroy(struct nf_conntrack *nfct);31 static inline void nf_conntrack_put(struct nf_conntrack *nfct) in nf_conntrack_put() argument33 if (nfct && atomic_dec_and_test(&nfct->use)) in nf_conntrack_put()34 nf_conntrack_destroy(nfct); in nf_conntrack_put()36 static inline void nf_conntrack_get(struct nf_conntrack *nfct) in nf_conntrack_get() argument38 if (nfct) in nf_conntrack_get()39 atomic_inc(&nfct->use); in nf_conntrack_get()
152 unsigned long nfct = skb_get_nfct(skb); in nf_ct_get() local154 *ctinfo = nfct & NFCT_INFOMASK; in nf_ct_get()155 return (struct nf_conn *)(nfct & NFCT_PTRMASK); in nf_ct_get()
443 struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, in synproxy_send_tcp() argument457 if (nfct) { in synproxy_send_tcp()458 nf_ct_set(nskb, (struct nf_conn *)nfct, ctinfo); in synproxy_send_tcp()459 nf_conntrack_get(nfct); in synproxy_send_tcp()837 struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, in synproxy_send_tcp_ipv6() argument869 if (nfct) { in synproxy_send_tcp_ipv6()870 nf_ct_set(nskb, (struct nf_conn *)nfct, ctinfo); in synproxy_send_tcp_ipv6()871 nf_conntrack_get(nfct); in synproxy_send_tcp_ipv6()
671 void nf_conntrack_destroy(struct nf_conntrack *nfct) in nf_conntrack_destroy() argument678 ct_hook->destroy(nfct); in nf_conntrack_destroy()
595 destroy_conntrack(struct nf_conntrack *nfct) in destroy_conntrack() argument597 struct nf_conn *ct = (struct nf_conn *)nfct; in destroy_conntrack()600 WARN_ON(atomic_read(&nfct->use) != 0); in destroy_conntrack()
4149 static inline void skb_set_nfct(struct sk_buff *skb, unsigned long nfct) in skb_set_nfct() argument4152 skb->_nfct = nfct; in skb_set_nfct()