Home
last modified time | relevance | path

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

/linux-6.6.21/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.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()
Dicmp.c828 const struct inet6_protocol *ipprot; in icmpv6_notify() local
865 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify()
866 if (ipprot && ipprot->err_handler) in icmpv6_notify()
867 ipprot->err_handler(skb, opt, type, code, inner_offset, info); in icmpv6_notify()
/linux-6.6.21/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()
205 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v4_rcv, udp_rcv, in ip_protocol_deliver_rcu()
Dicmp.c819 const struct net_protocol *ipprot; in icmp_socket_deliver() local
832 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver()
833 if (ipprot && ipprot->err_handler) in icmp_socket_deliver()
834 ipprot->err_handler(skb, info); in icmp_socket_deliver()
Dfou_core.c1071 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler() local
1073 if (ipprot && ipprot->err_handler) { in gue_err_proto_handler()
1074 if (!ipprot->err_handler(skb, info)) in gue_err_proto_handler()