Home
last modified time | relevance | path

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

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_input.c64 const struct ninet_protocol *ipprot; in nip_rcv_finish() local
67 ipprot = rcu_dereference(ninet_protos[nipcb(skb)->nexthdr]); in nip_rcv_finish()
68 if (ipprot) in nip_rcv_finish()
69 edemux = READ_ONCE(ipprot->early_demux); in nip_rcv_finish()
140 const struct ninet_protocol *ipprot; in nip_protocol_deliver_rcu() local
145 ipprot = rcu_dereference(ninet_protos[nipcb(skb)->nexthdr]); in nip_protocol_deliver_rcu()
146 if (ipprot) { in nip_protocol_deliver_rcu()
147 ipprot->handler(skb); in nip_protocol_deliver_rcu()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv4/
Dip_input.c192 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu() local
198 ipprot = rcu_dereference(inet_protos[protocol]); in ip_protocol_deliver_rcu()
199 if (ipprot) { in ip_protocol_deliver_rcu()
200 if (!ipprot->no_policy) { in ip_protocol_deliver_rcu()
207 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()