Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/
Dip_input.c202 const struct net_protocol *ipprot; in ip_local_deliver_finish() local
208 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()
Dicmp.c644 const struct net_protocol *ipprot; in icmp_unreach() local
740 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()
Daf_inet.c253 const struct net_protocol *ipprot; in inet_netns_ok() local
259 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()
/linux-3.4.99/net/ipv6/
Dip6_input.c192 const struct inet6_protocol *ipprot; in ip6_input_finish() local
214 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()
Dicmp.c599 const struct inet6_protocol *ipprot; in icmpv6_notify() local
633 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()