Home
last modified time | relevance | path

Searched refs:ipprot (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/net/ipv6/
Dip6_input.c56 const struct inet6_protocol *ipprot; in ip6_rcv_finish_core() local
58 ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]); in ip6_rcv_finish_core()
59 if (ipprot && (edemux = READ_ONCE(ipprot->early_demux))) in ip6_rcv_finish_core()
325 const struct inet6_protocol *ipprot; in ip6_input_finish() local
346 ipprot = rcu_dereference(inet6_protos[nexthdr]); in ip6_input_finish()
347 if (ipprot) { in ip6_input_finish()
351 if (!(ipprot->flags & INET6_PROTO_FINAL)) { in ip6_input_finish()
359 } else if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_input_finish()
379 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && in ip6_input_finish()
383 ret = ipprot->handler(skb); in ip6_input_finish()
[all …]
Dicmp.c749 const struct inet6_protocol *ipprot; in icmpv6_notify() local
780 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify()
781 if (ipprot && ipprot->err_handler) in icmpv6_notify()
782 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); in icmpv6_notify()
/Linux-v4.19/net/ipv4/
Dip_input.c198 const struct net_protocol *ipprot; in ip_local_deliver_finish() local
204 ipprot = rcu_dereference(inet_protos[protocol]); in ip_local_deliver_finish()
205 if (ipprot) { in ip_local_deliver_finish()
208 if (!ipprot->no_policy) { in ip_local_deliver_finish()
215 ret = ipprot->handler(skb); in ip_local_deliver_finish()
323 const struct net_protocol *ipprot; in ip_rcv_finish_core() local
326 ipprot = rcu_dereference(inet_protos[protocol]); in ip_rcv_finish_core()
327 if (ipprot && (edemux = READ_ONCE(ipprot->early_demux))) { in ip_rcv_finish_core()
Dicmp.c751 const struct net_protocol *ipprot; in icmp_socket_deliver() local
764 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver()
765 if (ipprot && ipprot->err_handler) in icmp_socket_deliver()
766 ipprot->err_handler(skb, info); in icmp_socket_deliver()
Dsysctl_net_ipv4.c334 struct net_protocol *ipprot; in proc_configure_early_demux() local
341 ipprot = rcu_dereference(inet_protos[protocol]); in proc_configure_early_demux()
342 if (ipprot) in proc_configure_early_demux()
343 ipprot->early_demux = enabled ? ipprot->early_demux_handler : in proc_configure_early_demux()