Home
last modified time | relevance | path

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

/net/ipv6/
Dfou6.c78 const struct inet6_protocol *ipprot; in gue6_err_proto_handler() local
80 ipprot = rcu_dereference(inet6_protos[proto]); in gue6_err_proto_handler()
81 if (ipprot && ipprot->err_handler) { in gue6_err_proto_handler()
82 if (!ipprot->err_handler(skb, opt, type, code, offset, info)) in gue6_err_proto_handler()
Dip6_input.c358 const struct inet6_protocol *ipprot; in ip6_protocol_deliver_rcu() local
378 ipprot = rcu_dereference(inet6_protos[nexthdr]); in ip6_protocol_deliver_rcu()
379 if (ipprot) { in ip6_protocol_deliver_rcu()
383 if (!(ipprot->flags & INET6_PROTO_FINAL)) { in ip6_protocol_deliver_rcu()
391 } else if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu()
423 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && in ip6_protocol_deliver_rcu()
427 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v6_rcv, udpv6_rcv, in ip6_protocol_deliver_rcu()
430 if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu()
Dicmp.c816 const struct inet6_protocol *ipprot; in icmpv6_notify() local
847 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify()
848 if (ipprot && ipprot->err_handler) in icmpv6_notify()
849 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); in icmpv6_notify()
/net/ipv4/
Dip_input.c189 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu() local
195 ipprot = rcu_dereference(inet_protos[protocol]); in ip_protocol_deliver_rcu()
196 if (ipprot) { in ip_protocol_deliver_rcu()
197 if (!ipprot->no_policy) { in ip_protocol_deliver_rcu()
204 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v4_rcv, udp_rcv, in ip_protocol_deliver_rcu()
Dicmp.c825 const struct net_protocol *ipprot; in icmp_socket_deliver() local
838 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver()
839 if (ipprot && ipprot->err_handler) in icmp_socket_deliver()
840 ipprot->err_handler(skb, info); in icmp_socket_deliver()
Dfou.c1117 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler() local
1119 if (ipprot && ipprot->err_handler) { in gue_err_proto_handler()
1120 if (!ipprot->err_handler(skb, info)) in gue_err_proto_handler()