Searched refs:nf_hook (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/ |
H A D | netfilter.h | 223 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() function 302 ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in NF_HOOK_COND() 312 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK() 429 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() function
|
/linux/drivers/net/ |
H A D | vrf.c | 418 err = nf_hook(NFPROTO_IPV6, NF_INET_LOCAL_OUT, net, in vrf_ip6_local_out() 498 err = nf_hook(NFPROTO_IPV4, NF_INET_LOCAL_OUT, net, sk, in vrf_ip_local_out() 713 err = nf_hook(NFPROTO_IPV6, NF_INET_POST_ROUTING, net, sk, skb, in vrf_output6_direct() 743 err = nf_hook(NFPROTO_IPV6, NF_INET_LOCAL_OUT, net, sk, in vrf_ip6_out_direct() 943 err = nf_hook(NFPROTO_IPV4, NF_INET_POST_ROUTING, net, sk, skb, in vrf_output_direct() 973 err = nf_hook(NFPROTO_IPV4, NF_INET_LOCAL_OUT, net, sk, in vrf_ip_out_direct() 1203 if (nf_hook(pf, hook, net, NULL, skb, dev, NULL, vrf_rcv_finish) != 1) in vrf_rcv_nfhook()
|
/linux/net/ipv6/ |
H A D | output_core.c | 143 return nf_hook(NFPROTO_IPV6, NF_INET_LOCAL_OUT, in __ip6_local_out()
|
/linux/net/xfrm/ |
H A D | xfrm_output.c | 598 err = nf_hook(skb_dst(skb)->ops->family, in xfrm_output_resume()
|
/linux/net/ipv4/ |
H A D | ip_output.c | 119 return nf_hook(NFPROTO_IPV4, NF_INET_LOCAL_OUT, in __ip_local_out()
|