Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A 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()
H A Dip6_input.c366 const struct inet6_protocol *ipprot; in ip6_protocol_deliver_rcu() local
387 ipprot = rcu_dereference(inet6_protos[nexthdr]); in ip6_protocol_deliver_rcu()
388 if (ipprot) { in ip6_protocol_deliver_rcu()
392 if (!(ipprot->flags & INET6_PROTO_FINAL)) { in ip6_protocol_deliver_rcu()
400 } else if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu()
430 if (!(ipprot->flags & INET6_PROTO_NOPOLICY)) { in ip6_protocol_deliver_rcu()
438 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v6_rcv, udpv6_rcv, in ip6_protocol_deliver_rcu()
441 if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu()
H A Dicmp.c836 const struct inet6_protocol *ipprot; in icmpv6_notify() local
873 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify()
874 if (ipprot && ipprot->err_handler) in icmpv6_notify()
875 ipprot->err_handler(skb, opt, type, code, inner_offset, info); in icmpv6_notify()
/openbmc/linux/net/ipv4/
H A 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()
205 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v4_rcv, udp_rcv, in ip_protocol_deliver_rcu()
H A Dicmp.c829 const struct net_protocol *ipprot; in icmp_socket_deliver() local
842 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver()
843 if (ipprot && ipprot->err_handler) in icmp_socket_deliver()
844 ipprot->err_handler(skb, info); in icmp_socket_deliver()
H A Dfou_core.c1090 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler() local
1092 if (ipprot && ipprot->err_handler) { in gue_err_proto_handler()
1093 if (!ipprot->err_handler(skb, info)) in gue_err_proto_handler()