Searched refs:ipprot (Results 1 – 5 of 5) sorted by relevance
202 const struct net_protocol *ipprot; in ip_local_deliver_finish() local208 ipprot = rcu_dereference(inet_protos[hash]); in ip_local_deliver_finish()209 if (ipprot != NULL) { in ip_local_deliver_finish()212 if (!net_eq(net, &init_net) && !ipprot->netns_ok) { in ip_local_deliver_finish()220 if (!ipprot->no_policy) { in ip_local_deliver_finish()227 ret = ipprot->handler(skb); in ip_local_deliver_finish()
644 const struct net_protocol *ipprot; in icmp_unreach() local740 ipprot = rcu_dereference(inet_protos[hash]); in icmp_unreach()741 if (ipprot && ipprot->err_handler) in icmp_unreach()742 ipprot->err_handler(skb, info); in icmp_unreach()
253 const struct net_protocol *ipprot; in inet_netns_ok() local259 ipprot = rcu_dereference(inet_protos[hash]); in inet_netns_ok()261 if (ipprot == NULL) in inet_netns_ok()264 return ipprot->netns_ok; in inet_netns_ok()
192 const struct inet6_protocol *ipprot; in ip6_input_finish() local214 if ((ipprot = rcu_dereference(inet6_protos[hash])) != NULL) { in ip6_input_finish()217 if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_input_finish()234 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && in ip6_input_finish()238 ret = ipprot->handler(skb); in ip6_input_finish()
599 const struct inet6_protocol *ipprot; in icmpv6_notify() local633 ipprot = rcu_dereference(inet6_protos[hash]); in icmpv6_notify()634 if (ipprot && ipprot->err_handler) in icmpv6_notify()635 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); in icmpv6_notify()