Searched refs:ipprot (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/net/ipv6/
H A Dip6_input.c53 const struct inet6_protocol *ipprot; ip6_rcv_finish() local
55 ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]); ip6_rcv_finish()
56 if (ipprot && ipprot->early_demux) ip6_rcv_finish()
57 ipprot->early_demux(skb); ip6_rcv_finish()
204 const struct inet6_protocol *ipprot; ip6_input_finish() local
223 ipprot = rcu_dereference(inet6_protos[nexthdr]); ip6_input_finish()
224 if (ipprot) { ip6_input_finish()
227 if (ipprot->flags & INET6_PROTO_FINAL) { ip6_input_finish()
244 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && ip6_input_finish()
248 ret = ipprot->handler(skb); ip6_input_finish()
H A Dicmp.c636 const struct inet6_protocol *ipprot; icmpv6_notify() local
667 ipprot = rcu_dereference(inet6_protos[nexthdr]); icmpv6_notify()
668 if (ipprot && ipprot->err_handler) icmpv6_notify()
669 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); icmpv6_notify()
/linux-4.4.14/net/ipv4/
H A Dip_input.c199 const struct net_protocol *ipprot; ip_local_deliver_finish() local
205 ipprot = rcu_dereference(inet_protos[protocol]); ip_local_deliver_finish()
206 if (ipprot) { ip_local_deliver_finish()
209 if (!ipprot->no_policy) { ip_local_deliver_finish()
216 ret = ipprot->handler(skb); ip_local_deliver_finish()
320 const struct net_protocol *ipprot; ip_rcv_finish() local
323 ipprot = rcu_dereference(inet_protos[protocol]); ip_rcv_finish()
324 if (ipprot && ipprot->early_demux) { ip_rcv_finish()
325 ipprot->early_demux(skb); ip_rcv_finish()
H A Dicmp.c740 const struct net_protocol *ipprot; icmp_socket_deliver() local
753 ipprot = rcu_dereference(inet_protos[protocol]); icmp_socket_deliver()
754 if (ipprot && ipprot->err_handler) icmp_socket_deliver()
755 ipprot->err_handler(skb, info); icmp_socket_deliver()

Completed in 151 milliseconds