Searched refs:ipprot (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/net/ipv6/ |
D | ip6_input.c | 55 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() 340 const struct inet6_protocol *ipprot; in ip6_protocol_deliver_rcu() local 360 ipprot = rcu_dereference(inet6_protos[nexthdr]); in ip6_protocol_deliver_rcu() 361 if (ipprot) { in ip6_protocol_deliver_rcu() 365 if (!(ipprot->flags & INET6_PROTO_FINAL)) { in ip6_protocol_deliver_rcu() 373 } else if (ipprot->flags & INET6_PROTO_FINAL) { in ip6_protocol_deliver_rcu() 405 if (!(ipprot->flags & INET6_PROTO_NOPOLICY) && in ip6_protocol_deliver_rcu() 409 ret = INDIRECT_CALL_2(ipprot->handler, tcp_v6_rcv, udpv6_rcv, in ip6_protocol_deliver_rcu() [all …]
|
D | fou6.c | 78 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()
|
D | icmp.c | 772 const struct inet6_protocol *ipprot; in icmpv6_notify() local 803 ipprot = rcu_dereference(inet6_protos[nexthdr]); in icmpv6_notify() 804 if (ipprot && ipprot->err_handler) in icmpv6_notify() 805 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); in icmpv6_notify()
|
/Linux-v5.4/net/ipv4/ |
D | ip_input.c | 189 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() 319 const struct net_protocol *ipprot; in ip_rcv_finish_core() local 322 ipprot = rcu_dereference(inet_protos[protocol]); in ip_rcv_finish_core() 323 if (ipprot && (edemux = READ_ONCE(ipprot->early_demux))) { in ip_rcv_finish_core()
|
D | icmp.c | 753 const struct net_protocol *ipprot; in icmp_socket_deliver() local 766 ipprot = rcu_dereference(inet_protos[protocol]); in icmp_socket_deliver() 767 if (ipprot && ipprot->err_handler) in icmp_socket_deliver() 768 ipprot->err_handler(skb, info); in icmp_socket_deliver()
|
D | sysctl_net_ipv4.c | 376 struct net_protocol *ipprot; in proc_configure_early_demux() local 383 ipprot = rcu_dereference(inet_protos[protocol]); in proc_configure_early_demux() 384 if (ipprot) in proc_configure_early_demux() 385 ipprot->early_demux = enabled ? ipprot->early_demux_handler : in proc_configure_early_demux()
|
D | fou.c | 1117 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()
|