Home
last modified time | relevance | path

Searched refs:v6ops (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-4.19/net/netfilter/
Dutils.c165 const struct nf_ipv6_ops *v6ops; in nf_route() local
173 v6ops = rcu_dereference(nf_ipv6_ops); in nf_route()
174 if (v6ops) in nf_route()
175 ret = v6ops->route(net, dst, fl, strict); in nf_route()
185 const struct nf_ipv6_ops *v6ops; in nf_reroute() local
193 v6ops = rcu_dereference(nf_ipv6_ops); in nf_reroute()
194 if (v6ops) in nf_reroute()
195 ret = v6ops->reroute(skb, entry); in nf_reroute()
Dxt_addrtype.c39 const struct nf_ipv6_ops *v6ops; in match_lookup_rt6() local
50 v6ops = nf_get_ipv6_ops(); in match_lookup_rt6()
51 if (v6ops) { in match_lookup_rt6()
53 if (v6ops->chk_addr(net, addr, dev, true)) in match_lookup_rt6()
56 route_err = v6ops->route(net, (struct dst_entry **)&rt, in match_lookup_rt6()
Dnf_conntrack_h323_main.c753 const struct nf_ipv6_ops *v6ops; in callforward_do_filter() local
757 v6ops = nf_get_ipv6_ops(); in callforward_do_filter()
758 if (!v6ops) in callforward_do_filter()
766 if (!v6ops->route(net, (struct dst_entry **)&rt1, in callforward_do_filter()
768 if (!v6ops->route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
/kernel/linux/linux-5.10/net/netfilter/
Dutils.c166 const struct nf_ipv6_ops *v6ops __maybe_unused; in nf_route()
203 const struct nf_ipv6_ops *v6ops; in nf_reroute() local
211 v6ops = rcu_dereference(nf_ipv6_ops); in nf_reroute()
212 if (v6ops) in nf_reroute()
213 ret = v6ops->reroute(skb, entry); in nf_reroute()
/kernel/linux/linux-4.19/net/ipv6/netfilter/
Dnft_fib_ipv6.c62 const struct nf_ipv6_ops *v6ops; in __nft_fib6_eval_type() local
71 v6ops = nf_get_ipv6_ops(); in __nft_fib6_eval_type()
72 if (!v6ops) in __nft_fib6_eval_type()
82 if (dev && v6ops->chk_addr(nft_net(pkt), &fl6.daddr, dev, true)) in __nft_fib6_eval_type()
85 route_err = v6ops->route(nft_net(pkt), (struct dst_entry **)&rt, in __nft_fib6_eval_type()
/kernel/linux/linux-5.10/include/linux/
Dnetfilter_ipv6.h103 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in nf_ip6_route() local
105 if (v6ops) in nf_ip6_route()
106 return v6ops->route(net, dst, fl, strict); in nf_ip6_route()
/kernel/linux/linux-5.10/net/bridge/
Dbr_netfilter_ipv6.c165 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in br_nf_pre_routing_finish_ipv6() local
176 v6ops->route_input(skb); in br_nf_pre_routing_finish_ipv6()
Dbr_netfilter_hooks.c784 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in br_nf_dev_queue_xmit() local
801 if (v6ops) in br_nf_dev_queue_xmit()
802 return v6ops->fragment(net, sk, skb, br_nf_push_frag_xmit); in br_nf_dev_queue_xmit()
/kernel/linux/linux-4.19/net/bridge/
Dbr_netfilter_ipv6.c169 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in br_nf_pre_routing_finish_ipv6() local
180 v6ops->route_input(skb); in br_nf_pre_routing_finish_ipv6()
Dbr_netfilter_hooks.c758 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in br_nf_dev_queue_xmit() local
775 if (v6ops) in br_nf_dev_queue_xmit()
776 return v6ops->fragment(net, sk, skb, br_nf_push_frag_xmit); in br_nf_dev_queue_xmit()
/kernel/linux/linux-4.19/net/openvswitch/
Dactions.c911 const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops(); in ovs_fragment() local
915 if (!v6ops) in ovs_fragment()
929 v6ops->fragment(net, skb->sk, skb, ovs_vport_output); in ovs_fragment()