Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv6/netfilter/
Dnf_defrag_ipv6_hooks.c39 if (skb->nfct) in nf_ct6_defrag_user()
40 zone = nf_ct_zone((struct nf_conn *)skb->nfct); in nf_ct6_defrag_user()
65 if (skb->nfct && !nf_ct_is_template((struct nf_conn *)skb->nfct)) in ipv6_defrag()
Dnf_conntrack_proto_icmpv6.c149 NF_CT_ASSERT(skb->nfct == NULL); in icmpv6_error_message()
184 skb->nfct = &nf_ct_tuplehash_to_ctrack(h)->ct_general; in icmpv6_error_message()
217 skb->nfct = &nf_ct_untracked_get()->ct_general; in icmpv6_error()
219 nf_conntrack_get(skb->nfct); in icmpv6_error()
Dnf_conntrack_l3proto_ipv6.c202 if (!reasm->nfct) { in __ipv6_conntrack_in()
209 nf_conntrack_get(reasm->nfct); in __ipv6_conntrack_in()
210 skb->nfct = reasm->nfct; in __ipv6_conntrack_in()
/linux-3.4.99/net/netfilter/
Dxt_NOTRACK.c19 if (skb->nfct != NULL) in notrack_tg()
26 skb->nfct = &nf_ct_untracked_get()->ct_general; in notrack_tg()
28 nf_conntrack_get(skb->nfct); in notrack_tg()
Dxt_TEE.c104 nf_conntrack_put(skb->nfct); in tee_tg4()
105 skb->nfct = &nf_ct_untracked_get()->ct_general; in tee_tg4()
107 nf_conntrack_get(skb->nfct); in tee_tg4()
178 nf_conntrack_put(skb->nfct); in tee_tg6()
179 skb->nfct = &nf_ct_untracked_get()->ct_general; in tee_tg6()
181 nf_conntrack_get(skb->nfct); in tee_tg6()
Dxt_CT.c31 if (skb->nfct != NULL) in xt_ct_target_v0()
35 skb->nfct = &ct->ct_general; in xt_ct_target_v0()
48 if (skb->nfct != NULL) in xt_ct_target_v1()
52 skb->nfct = &ct->ct_general; in xt_ct_target_v1()
Dcore.c243 if (skb->nfct) { in nf_ct_attach()
256 void nf_conntrack_destroy(struct nf_conntrack *nfct) in nf_conntrack_destroy() argument
263 destroy(nfct); in nf_conntrack_destroy()
Dnf_conntrack_core.c191 destroy_conntrack(struct nf_conntrack *nfct) in destroy_conntrack() argument
193 struct nf_conn *ct = (struct nf_conn *)nfct; in destroy_conntrack()
198 NF_CT_ASSERT(atomic_read(&nfct->use) == 0); in destroy_conntrack()
922 skb->nfct = &ct->ct_general; in resolve_normal_ct()
942 if (skb->nfct) { in nf_conntrack_in()
944 tmpl = (struct nf_conn *)skb->nfct; in nf_conntrack_in()
949 skb->nfct = NULL; in nf_conntrack_in()
979 if (skb->nfct) in nf_conntrack_in()
999 NF_CT_ASSERT(skb->nfct); in nf_conntrack_in()
1013 nf_conntrack_put(skb->nfct); in nf_conntrack_in()
[all …]
/linux-3.4.99/net/ipv4/netfilter/
Dnf_defrag_ipv4.c49 if (skb->nfct) in nf_ct_defrag_user()
50 zone = nf_ct_zone((struct nf_conn *)skb->nfct); in nf_ct_defrag_user()
81 if (skb->nfct && !nf_ct_is_template((struct nf_conn *)skb->nfct)) in ipv4_conntrack_defrag()
Dnf_conntrack_proto_icmp.c133 NF_CT_ASSERT(skb->nfct == NULL); in icmp_error_message()
167 skb->nfct = &nf_ct_tuplehash_to_ctrack(h)->ct_general; in icmp_error_message()
/linux-3.4.99/include/linux/
Dskbuff.h438 struct nf_conntrack *nfct; member
2386 extern void nf_conntrack_destroy(struct nf_conntrack *nfct);
2387 static inline void nf_conntrack_put(struct nf_conntrack *nfct) in nf_conntrack_put() argument
2389 if (nfct && atomic_dec_and_test(&nfct->use)) in nf_conntrack_put()
2390 nf_conntrack_destroy(nfct); in nf_conntrack_put()
2392 static inline void nf_conntrack_get(struct nf_conntrack *nfct) in nf_conntrack_get() argument
2394 if (nfct) in nf_conntrack_get()
2395 atomic_inc(&nfct->use); in nf_conntrack_get()
2425 nf_conntrack_put(skb->nfct); in nf_reset()
2426 skb->nfct = NULL; in nf_reset()
[all …]
/linux-3.4.99/include/net/netfilter/
Dnf_conntrack_core.h60 struct nf_conn *ct = (struct nf_conn *)skb->nfct; in nf_conntrack_confirm()
Dnf_conntrack.h186 return (struct nf_conn *)skb->nfct; in nf_ct_get()
/linux-3.4.99/include/net/
Dip_vs.h1359 nf_conntrack_put(skb->nfct); in ip_vs_notrack()
1360 skb->nfct = &nf_ct_untracked_get()->ct_general; in ip_vs_notrack()
1362 nf_conntrack_get(skb->nfct); in ip_vs_notrack()
/linux-3.4.99/net/sched/
Dcls_flow.c124 return addr_fold(skb->nfct); in flow_get_nfct()
/linux-3.4.99/net/bridge/
Dbr_netfilter.c826 if (skb->nfct != NULL && skb->protocol == htons(ETH_P_IP) && in br_nf_dev_queue_xmit()
/linux-3.4.99/net/core/
Dskbuff.c457 nf_conntrack_put(skb->nfct); in skb_release_head_state()