Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_core.h37 extern int __ip_conntrack_confirm(struct nf_ct_info *nfct);
42 if (skb->nfct in ip_conntrack_confirm()
43 && !is_confirmed((struct ip_conntrack *)skb->nfct->master)) in ip_conntrack_confirm()
44 return __ip_conntrack_confirm(skb->nfct); in ip_conntrack_confirm()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_core.c309 destroy_conntrack(struct nf_conntrack *nfct) in destroy_conntrack() argument
311 struct ip_conntrack *ct = (struct ip_conntrack *)nfct, *master = NULL; in destroy_conntrack()
315 IP_NF_ASSERT(atomic_read(&nfct->use) == 0); in destroy_conntrack()
411 __ip_conntrack_get(struct nf_ct_info *nfct, enum ip_conntrack_info *ctinfo) in __ip_conntrack_get() argument
414 = (struct ip_conntrack *)nfct->master; in __ip_conntrack_get()
417 *ctinfo = nfct - ct->infos; in __ip_conntrack_get()
426 if (skb->nfct) in ip_conntrack_get()
427 return __ip_conntrack_get(skb->nfct, ctinfo); in ip_conntrack_get()
433 __ip_conntrack_confirm(struct nf_ct_info *nfct) in __ip_conntrack_confirm() argument
439 ct = __ip_conntrack_get(nfct, &ctinfo); in __ip_conntrack_confirm()
[all …]
Dip_fw_compat.c124 if ((*pskb)->nfct) in fw_in()
175 && (*pskb)->nfct) in fw_in()
Dip_nat_core.c896 IP_NF_ASSERT(skb->nfct in icmp_reply_translation()
897 - ((struct ip_conntrack *)skb->nfct->master)->infos in icmp_reply_translation()
899 || skb->nfct in icmp_reply_translation()
900 - ((struct ip_conntrack *)skb->nfct->master)->infos in icmp_reply_translation()
/linux-2.4.37.9/include/linux/
Dskbuff.h207 struct nf_ct_info *nfct; member
1154 nf_conntrack_put(struct nf_ct_info *nfct) in nf_conntrack_put() argument
1156 if (nfct && atomic_dec_and_test(&nfct->master->use)) in nf_conntrack_put()
1157 nfct->master->destroy(nfct->master); in nf_conntrack_put()
1160 nf_conntrack_get(struct nf_ct_info *nfct) in nf_conntrack_get() argument
1162 if (nfct) in nf_conntrack_get()
1163 atomic_inc(&nfct->master->use); in nf_conntrack_get()
1168 nf_conntrack_put(skb->nfct); in nf_reset()
1169 skb->nfct = NULL; in nf_reset()
/linux-2.4.37.9/net/core/
Dskbuff.c245 skb->nfct = NULL; in skb_headerinit()
328 nf_conntrack_put(skb->nfct); in __kfree_skb()
392 C(nfct); in skb_clone()
407 nf_conntrack_get(skb->nfct); in skb_clone()
438 new->nfct=old->nfct; in copy_skb_header()
439 nf_conntrack_get(new->nfct); in copy_skb_header()
Dnetfilter.c634 if (skb->nfct && (attach = ip_ct_attach) != NULL) { in nf_ct_attach()
636 attach(new, skb->nfct); in nf_ct_attach()
/linux-2.4.37.9/net/ipv4/
Dip_output.c891 skb2->nfct = skb->nfct; in ip_fragment()
892 nf_conntrack_get(skb2->nfct); in ip_fragment()