Home
last modified time | relevance | path

Searched refs:nfct (Results 1 – 3 of 3) sorted by relevance

/include/linux/netfilter/
Dnf_conntrack_common.h31 void nf_conntrack_destroy(struct nf_conntrack *nfct);
34 static inline void nf_conntrack_put(struct nf_conntrack *nfct) in nf_conntrack_put() argument
36 if (nfct && refcount_dec_and_test(&nfct->use)) in nf_conntrack_put()
37 nf_conntrack_destroy(nfct); in nf_conntrack_put()
39 static inline void nf_conntrack_get(struct nf_conntrack *nfct) in nf_conntrack_get() argument
41 if (nfct) in nf_conntrack_get()
42 refcount_inc(&nfct->use); in nf_conntrack_get()
/include/net/netfilter/
Dnf_conntrack.h176 unsigned long nfct = skb_get_nfct(skb); in nf_ct_get() local
178 *ctinfo = nfct & NFCT_INFOMASK; in nf_ct_get()
179 return (struct nf_conn *)(nfct & NFCT_PTRMASK); in nf_ct_get()
182 void nf_ct_destroy(struct nf_conntrack *nfct);
/include/linux/
Dskbuff.h4578 static inline void skb_set_nfct(struct sk_buff *skb, unsigned long nfct) in skb_set_nfct() argument
4581 skb->slow_gro |= !!nfct; in skb_set_nfct()
4582 skb->_nfct = nfct; in skb_set_nfct()