| /net/netfilter/ipvs/ |
| A D | ip_vs_proto.c | 56 if (pp->init != NULL) in register_ip_vs_protocol() 57 pp->init(pp); in register_ip_vs_protocol() 75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns() 103 if (*pp_p == pp) { in unregister_ip_vs_protocol() 104 *pp_p = pp->next; in unregister_ip_vs_protocol() 105 if (pp->exit != NULL) in unregister_ip_vs_protocol() 106 pp->exit(pp); in unregister_ip_vs_protocol() 142 struct ip_vs_protocol *pp; in ip_vs_proto_get() local 145 for (pp = ip_vs_proto_table[hash]; pp; pp = pp->next) { in ip_vs_proto_get() 147 return pp; in ip_vs_proto_get() [all …]
|
| A D | ip_vs_core.c | 445 struct ip_vs_protocol *pp = pd->pp; in ip_vs_schedule() local 965 if (!pp) in ip_vs_out_icmp() 970 pp->dont_defrag)) in ip_vs_out_icmp() 1032 if (!pp) in ip_vs_out_icmp_v6() 1262 struct ip_vs_protocol *pp = pd->pp; in handle_response() local 1274 !SNAT_CALL(pp->snat_handler, skb, pp, cp, iph)) in handle_response() 1383 pp = pd->pp; in ip_vs_out_hook() 1474 struct ip_vs_protocol *pp = pd->pp; in ip_vs_try_to_schedule() local 1691 pp = pd->pp; in ip_vs_in_icmp() 1850 pp = pd->pp; in ip_vs_in_icmp_v6() [all …]
|
| A D | ip_vs_app.c | 76 struct ip_vs_protocol *pp; in ip_vs_app_inc_new() local 80 if (!(pp = ip_vs_proto_get(proto))) in ip_vs_app_inc_new() 83 if (!pp->unregister_app) in ip_vs_app_inc_new() 105 ret = pp->register_app(ipvs, inc); in ip_vs_app_inc_new() 111 pp->name, inc->name, ntohs(inc->port)); in ip_vs_app_inc_new() 127 struct ip_vs_protocol *pp; in ip_vs_app_inc_release() local 132 if (pp->unregister_app) in ip_vs_app_inc_release() 133 pp->unregister_app(ipvs, inc); in ip_vs_app_inc_release() 136 pp->name, inc->name, ntohs(inc->port)); in ip_vs_app_inc_release() 260 struct ip_vs_protocol *pp) in ip_vs_bind_app() argument [all …]
|
| A D | ip_vs_xmit.c | 680 struct ip_vs_protocol *pp, struct ip_vs_iphdr *ipvsh) in ip_vs_null_xmit() argument 781 IP_VS_DBG_RL_PKT(10, AF_INET, pp, skb, ipvsh->off, in ip_vs_nat_xmit() 791 IP_VS_DBG_RL_PKT(1, AF_INET, pp, skb, ipvsh->off, in ip_vs_nat_xmit() 805 if (pp->dnat_handler && !pp->dnat_handler(skb, pp, cp, ipvsh)) in ip_vs_nat_xmit() 865 IP_VS_DBG_RL_PKT(10, AF_INET6, pp, skb, ipvsh->off, in ip_vs_nat_xmit_v6() 876 IP_VS_DBG_RL_PKT(1, AF_INET6, pp, skb, ipvsh->off, in ip_vs_nat_xmit_v6() 890 if (pp->dnat_handler && !pp->dnat_handler(skb, pp, cp, ipvsh)) in ip_vs_nat_xmit_v6() 1477 rc = cp->packet_xmit(skb, cp, pp, iph); in ip_vs_icmp_xmit() 1533 ip_vs_nat_icmp(skb, pp, cp, 0); in ip_vs_icmp_xmit() 1562 rc = cp->packet_xmit(skb, cp, pp, ipvsh); in ip_vs_icmp_xmit_v6() [all …]
|
| A D | ip_vs_proto_udp.c | 28 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp); 136 udp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in udp_snat_handler() argument 158 if (!udp_csum_check(cp->af, skb, pp)) in udp_snat_handler() 211 pp->name, udph->check, in udp_snat_handler() 219 udp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in udp_dnat_handler() argument 241 if (!udp_csum_check(cp->af, skb, pp)) in udp_dnat_handler() 300 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) in udp_csum_check() argument 330 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in udp_csum_check() 341 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in udp_csum_check()
|
| A D | ip_vs_proto_tcp.c | 32 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp); 147 tcp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in tcp_snat_handler() argument 169 if (!tcp_csum_check(cp->af, skb, pp)) in tcp_snat_handler() 217 pp->name, tcph->check, in tcp_snat_handler() 225 tcp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in tcp_dnat_handler() argument 247 if (!tcp_csum_check(cp->af, skb, pp)) in tcp_dnat_handler() 304 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) in tcp_csum_check() argument 327 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in tcp_csum_check() 338 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in tcp_csum_check() 544 pd->pp->name, in set_tcp_state()
|
| A D | ip_vs_proto_sctp.c | 13 sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp); 91 sctp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in sctp_snat_handler() argument 111 if (!sctp_csum_check(cp->af, skb, pp)) in sctp_snat_handler() 139 sctp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, in sctp_dnat_handler() argument 159 if (!sctp_csum_check(cp->af, skb, pp)) in sctp_dnat_handler() 188 sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) in sctp_csum_check() argument 207 IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, in sctp_csum_check() 443 pd->pp->name, in set_sctp_state()
|
| /net/rxrpc/ |
| A D | conn_service.c | 69 struct rb_node **pp, *parent; in rxrpc_publish_service_conn() local 73 pp = &peer->service_conns.rb_node; in rxrpc_publish_service_conn() 75 while (*pp) { in rxrpc_publish_service_conn() 76 parent = *pp; in rxrpc_publish_service_conn() 81 pp = &(*pp)->rb_left; in rxrpc_publish_service_conn() 83 pp = &(*pp)->rb_right; in rxrpc_publish_service_conn() 88 rb_link_node_rcu(&conn->service_node, parent, pp); in rxrpc_publish_service_conn()
|
| A D | call_accept.c | 42 struct rb_node *parent, **pp; in rxrpc_service_prealloc_one() local 110 pp = &rx->calls.rb_node; in rxrpc_service_prealloc_one() 112 while (*pp) { in rxrpc_service_prealloc_one() 113 parent = *pp; in rxrpc_service_prealloc_one() 116 pp = &(*pp)->rb_left; in rxrpc_service_prealloc_one() 118 pp = &(*pp)->rb_right; in rxrpc_service_prealloc_one() 132 rb_link_node(&call->sock_node, parent, pp); in rxrpc_service_prealloc_one()
|
| A D | oob.c | 97 struct rb_node **pp = &rx->pending_oobq.rb_node, *p = NULL; in rxrpc_add_pending_oob() local 99 while (*pp) { in rxrpc_add_pending_oob() 100 p = *pp; in rxrpc_add_pending_oob() 101 pp = &(*pp)->rb_right; in rxrpc_add_pending_oob() 104 rb_link_node(&skb->rbnode, p, pp); in rxrpc_add_pending_oob()
|
| A D | call_object.c | 331 struct rb_node *parent, **pp; in rxrpc_new_client_call() local 363 pp = &rx->calls.rb_node; in rxrpc_new_client_call() 365 while (*pp) { in rxrpc_new_client_call() 366 parent = *pp; in rxrpc_new_client_call() 370 pp = &(*pp)->rb_left; in rxrpc_new_client_call() 372 pp = &(*pp)->rb_right; in rxrpc_new_client_call() 381 rb_link_node(&call->sock_node, parent, pp); in rxrpc_new_client_call()
|
| A D | conn_client.c | 254 struct rb_node *p, **pp, *parent; in rxrpc_look_up_bundle() local 297 pp = &local->client_bundles.rb_node; in rxrpc_look_up_bundle() 299 while (*pp) { in rxrpc_look_up_bundle() 300 parent = *pp; in rxrpc_look_up_bundle() 310 pp = &(*pp)->rb_left; in rxrpc_look_up_bundle() 312 pp = &(*pp)->rb_right; in rxrpc_look_up_bundle() 318 rb_link_node(&candidate->local_node, parent, pp); in rxrpc_look_up_bundle()
|
| /net/ipv4/ |
| A D | inetpeer.c | 96 struct rb_node **pp, *parent, *next; in lookup() local 100 pp = &base->rb_root.rb_node; in lookup() 105 next = rcu_dereference_raw(*pp); in lookup() 124 pp = &next->rb_left; in lookup() 126 pp = &next->rb_right; in lookup() 129 *pp_p = pp; in lookup() 175 struct rb_node **pp, *parent; in inet_getpeer() local 182 p = lookup(daddr, base, seq, NULL, &gc_cnt, &parent, &pp); in inet_getpeer() 194 p = lookup(daddr, base, seq, gc_stack, &gc_cnt, &parent, &pp); in inet_getpeer() 210 rb_link_node(&p->rb_node, parent, pp); in inet_getpeer()
|
| A D | tcp_metrics.c | 906 struct tcp_metrics_block __rcu **pp = &hb->chain; in tcp_metrics_flush_all() local 909 if (!rcu_access_pointer(*pp)) in tcp_metrics_flush_all() 913 for (tm = deref_locked(*pp); tm; tm = deref_locked(*pp)) { in tcp_metrics_flush_all() 917 rcu_assign_pointer(*pp, tm->tcpm_next); in tcp_metrics_flush_all() 920 pp = &tm->tcpm_next; in tcp_metrics_flush_all() 932 struct tcp_metrics_block __rcu **pp; in tcp_metrics_nl_cmd_del() local 953 pp = &hb->chain; in tcp_metrics_nl_cmd_del() 955 for (tm = deref_locked(*pp); tm; tm = deref_locked(*pp)) { in tcp_metrics_nl_cmd_del() 959 rcu_assign_pointer(*pp, tm->tcpm_next); in tcp_metrics_nl_cmd_del() 963 pp = &tm->tcpm_next; in tcp_metrics_nl_cmd_del()
|
| A D | udp_offload.c | 703 struct sk_buff *pp = NULL; in udp_gro_receive_segment() local 751 pp = p; in udp_gro_receive_segment() 775 pp = p; in udp_gro_receive_segment() 777 return pp; in udp_gro_receive_segment() 787 struct sk_buff *pp = NULL; in udp_gro_receive() local 846 pp = udp_tunnel_gro_rcv(sk, head, skb); in udp_gro_receive() 849 skb_gro_flush_final(skb, pp, flush); in udp_gro_receive() 850 return pp; in udp_gro_receive() 878 struct sk_buff *pp; in udp4_gro_receive() local 899 pp = udp_gro_receive(head, skb, uh, sk); in udp4_gro_receive() [all …]
|
| A D | gre_offload.c | 125 struct sk_buff *pp = NULL; in gre_gro_receive() local 227 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive() 231 skb_gro_flush_final(skb, pp, flush); in gre_gro_receive() 233 return pp; in gre_gro_receive()
|
| A D | xfrm4_input.c | 184 struct sk_buff *pp = NULL; in xfrm4_gro_udp_encap_rcv() local 210 pp = call_gro_receive(ops->callbacks.gro_receive, head, skb); in xfrm4_gro_udp_encap_rcv() 213 return pp; in xfrm4_gro_udp_encap_rcv()
|
| /net/phonet/ |
| A D | af_phonet.c | 29 const struct phonet_protocol *pp; in phonet_proto_get() local 35 pp = rcu_dereference(proto_tab[protocol]); in phonet_proto_get() 36 if (pp && !try_module_get(pp->prot->owner)) in phonet_proto_get() 37 pp = NULL; in phonet_proto_get() 40 return pp; in phonet_proto_get() 45 module_put(pp->prot->owner); in phonet_proto_put() 459 const struct phonet_protocol *pp) in phonet_proto_register() argument 466 err = proto_register(pp->prot, 1); in phonet_proto_register() 482 const struct phonet_protocol *pp) in phonet_proto_unregister() argument 485 BUG_ON(proto_tab[protocol] != pp); in phonet_proto_unregister() [all …]
|
| /net/netfilter/ |
| A D | core.c | 200 p = rcu_dereference_raw(*pp); in nf_hook_entries_insert_raw() 207 rcu_assign_pointer(*pp, new_hooks); in nf_hook_entries_insert_raw() 271 rcu_assign_pointer(*pp, new); in __nf_hook_entries_try_shrink() 397 struct nf_hook_entries __rcu **pp; in __nf_register_net_hook() local 426 if (!pp) in __nf_register_net_hook() 431 p = nf_entry_dereference(*pp); in __nf_register_net_hook() 436 rcu_assign_pointer(*pp, new_hooks); in __nf_register_net_hook() 488 struct nf_hook_entries __rcu **pp; in __nf_unregister_net_hook() local 492 if (!pp) in __nf_unregister_net_hook() 497 p = nf_entry_dereference(*pp); in __nf_unregister_net_hook() [all …]
|
| A D | xt_ipvs.c | 56 struct ip_vs_protocol *pp; in ipvs_mt() local 81 pp = ip_vs_proto_get(iph.protocol); in ipvs_mt() 82 if (unlikely(!pp)) { in ipvs_mt() 90 cp = pp->conn_out_get(ipvs, family, skb, &iph); in ipvs_mt()
|
| A D | nf_internals.h | 39 void nf_hook_entries_delete_raw(struct nf_hook_entries __rcu **pp, 41 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp,
|
| /net/core/ |
| A D | of_net.c | 52 struct property *pp = of_find_property(np, name, NULL); in of_get_mac_addr() local 54 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr() 55 memcpy(addr, pp->value, ETH_ALEN); in of_get_mac_addr()
|
| /net/bridge/ |
| A D | br_mdb.c | 353 for (pp = &mp->ports; (p = rcu_dereference(*pp)) != NULL; in br_mdb_fill_info() 770 for (pp = &mp->ports; in br_mdb_add_group_sg() 772 pp = &p->next) { in br_mdb_add_group_sg() 995 for (pp = &mp->ports; in br_mdb_add_group_star_g() 997 pp = &p->next) { in br_mdb_add_group_star_g() 1383 for (pp = &mp->ports; in __br_mdb_del() 1385 pp = &p->next) { in __br_mdb_del() 1504 for (pp = &mp->ports; (p = mlock_dereference(*pp, br)) != NULL;) { in br_mdb_flush_pgs() 1509 pp = &p->next; in br_mdb_flush_pgs() 1514 pp = &p->next; in br_mdb_flush_pgs() [all …]
|
| A D | br_switchdev.c | 505 struct net_bridge_port_group __rcu **pp; in br_switchdev_mdb_complete() local 519 for (pp = &mp->ports; (p = mlock_dereference(*pp, br)) != NULL; in br_switchdev_mdb_complete() 520 pp = &p->next) { in br_switchdev_mdb_complete() 722 struct net_bridge_port_group __rcu * const *pp; in br_switchdev_mdb_replay() local 735 for (pp = &mp->ports; (p = mlock_dereference(*pp, br)) != NULL; in br_switchdev_mdb_replay() 736 pp = &p->next) { in br_switchdev_mdb_replay()
|
| A D | br_multicast.c | 448 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports() 450 pp = &p->next) in br_multicast_sg_del_exclude_ports() 461 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports() 466 pp = &p->next; in br_multicast_sg_del_exclude_ports() 573 for (pp = &mp->ports; in br_multicast_fwd_src_remove() 575 pp = &p->next) { in br_multicast_fwd_src_remove() 844 for (pp = &mp->ports; in br_multicast_find_del_pg() 846 pp = &p->next) { in br_multicast_find_del_pg() 1529 for (pp = &mp->ports; in __br_multicast_add_group() 1531 pp = &p->next) { in __br_multicast_add_group() [all …]
|