Searched refs:ipprot (Results 1 – 5 of 5) sorted by relevance
56 const struct inet6_protocol *ipprot; in ip6_rcv_finish_core() local58 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() local346 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 …]
749 const struct inet6_protocol *ipprot; in icmpv6_notify() local780 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()
198 const struct net_protocol *ipprot; in ip_local_deliver_finish() local204 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() local326 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()
751 const struct net_protocol *ipprot; in icmp_socket_deliver() local764 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()
334 struct net_protocol *ipprot; in proc_configure_early_demux() local341 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()