Home
last modified time | relevance | path

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

/linux/net/ipv6/
A Dip6_input.c55 const struct inet6_protocol *ipprot; in ip6_rcv_finish_core() local
57 ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]); in ip6_rcv_finish_core()
58 if (ipprot && (edemux = READ_ONCE(ipprot->early_demux))) in ip6_rcv_finish_core()
353 const struct inet6_protocol *ipprot; in ip6_protocol_deliver_rcu() local
373 ipprot = rcu_dereference(inet6_protos[nexthdr]); in ip6_protocol_deliver_rcu()
374 if (ipprot) { in ip6_protocol_deliver_rcu()
378 if (!(ipprot->flags & INET6_PROTO_FINAL)) { in ip6_protocol_deliver_rcu()
386 } else if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu()
418 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && in ip6_protocol_deliver_rcu()
422 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v6_rcv, udpv6_rcv, in ip6_protocol_deliver_rcu()
[all …]
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()
A Dicmp.c825 const struct inet6_protocol *ipprot; in icmpv6_notify() local
858 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify()
859 if (ipprot && ipprot->err_handler) in icmpv6_notify()
860 ipprot->err_handler(skb, opt, type, code, inner_offset, info); in icmpv6_notify()
/linux/net/ipv4/
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()
204 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v4_rcv, udp_rcv, in ip_protocol_deliver_rcu()
335 const struct net_protocol *ipprot; in ip_rcv_finish_core() local
338 ipprot = rcu_dereference(inet_protos[protocol]); in ip_rcv_finish_core()
339 if (ipprot && (edemux = READ_ONCE(ipprot->early_demux))) { in ip_rcv_finish_core()
A Dicmp.c818 const struct net_protocol *ipprot; in icmp_socket_deliver() local
831 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver()
832 if (ipprot && ipprot->err_handler) in icmp_socket_deliver()
833 ipprot->err_handler(skb, info); in icmp_socket_deliver()
A Dsysctl_net_ipv4.c359 struct net_protocol *ipprot; in proc_configure_early_demux() local
366 ipprot = rcu_dereference(inet_protos[protocol]); in proc_configure_early_demux()
367 if (ipprot) in proc_configure_early_demux()
368 ipprot->early_demux = enabled ? ipprot->early_demux_handler : in proc_configure_early_demux()
A 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()

Completed in 14 milliseconds