neigh_node 89 include/net/netrom.h struct hlist_node neigh_node; neigh_node 161 include/net/netrom.h hlist_for_each_entry(__nr_neigh, list, neigh_node) neigh_node 164 include/net/netrom.h hlist_for_each_entry_safe(__nr_neigh, node2, list, neigh_node) neigh_node 179 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node; neigh_node 181 net/batman-adv/bat_iv_ogm.c neigh_node = batadv_neigh_node_get_or_create(orig_node, neigh_node 183 net/batman-adv/bat_iv_ogm.c if (!neigh_node) neigh_node 186 net/batman-adv/bat_iv_ogm.c neigh_node->orig_node = orig_neigh; neigh_node 189 net/batman-adv/bat_iv_ogm.c return neigh_node; neigh_node 926 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node = NULL; neigh_node 944 net/batman-adv/bat_iv_ogm.c if (WARN(neigh_node, "too many matching neigh_nodes")) neigh_node 945 net/batman-adv/bat_iv_ogm.c batadv_neigh_node_put(neigh_node); neigh_node 946 net/batman-adv/bat_iv_ogm.c neigh_node = tmp_neigh_node; neigh_node 970 net/batman-adv/bat_iv_ogm.c if (!neigh_node) { neigh_node 977 net/batman-adv/bat_iv_ogm.c neigh_node = batadv_iv_ogm_neigh_new(if_incoming, neigh_node 982 net/batman-adv/bat_iv_ogm.c if (!neigh_node) neigh_node 990 net/batman-adv/bat_iv_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_new(neigh_node, if_outgoing); neigh_node 994 net/batman-adv/bat_iv_ogm.c neigh_node->last_seen = jiffies; neigh_node 996 net/batman-adv/bat_iv_ogm.c spin_lock_bh(&neigh_node->ifinfo_lock); neigh_node 1002 net/batman-adv/bat_iv_ogm.c spin_unlock_bh(&neigh_node->ifinfo_lock); neigh_node 1013 net/batman-adv/bat_iv_ogm.c if (router == neigh_node) neigh_node 1035 net/batman-adv/bat_iv_ogm.c sum_neigh = batadv_iv_orig_ifinfo_sum(neigh_node->orig_node, neigh_node 1036 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming); neigh_node 1041 net/batman-adv/bat_iv_ogm.c batadv_update_route(bat_priv, orig_node, if_outgoing, neigh_node); neigh_node 1047 net/batman-adv/bat_iv_ogm.c if (neigh_node) neigh_node 1048 net/batman-adv/bat_iv_ogm.c batadv_neigh_node_put(neigh_node); neigh_node 1074 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node = NULL, *tmp_neigh_node; neigh_node 1098 net/batman-adv/bat_iv_ogm.c neigh_node = tmp_neigh_node; neigh_node 1103 net/batman-adv/bat_iv_ogm.c if (!neigh_node) neigh_node 1104 net/batman-adv/bat_iv_ogm.c neigh_node = batadv_iv_ogm_neigh_new(if_incoming, neigh_node 1109 net/batman-adv/bat_iv_ogm.c if (!neigh_node) neigh_node 1114 net/batman-adv/bat_iv_ogm.c neigh_node->last_seen = jiffies; neigh_node 1120 net/batman-adv/bat_iv_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_new(neigh_node, if_outgoing); neigh_node 1194 net/batman-adv/bat_iv_ogm.c if (neigh_node) neigh_node 1195 net/batman-adv/bat_iv_ogm.c batadv_neigh_node_put(neigh_node); neigh_node 1218 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node; neigh_node 1253 net/batman-adv/bat_iv_ogm.c hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { neigh_node 1254 net/batman-adv/bat_iv_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_new(neigh_node, neigh_node 1259 net/batman-adv/bat_iv_ogm.c neigh_addr = neigh_node->addr; neigh_node 1265 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming == if_incoming) { neigh_node 1795 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node; neigh_node 1798 net/batman-adv/bat_iv_ogm.c hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { neigh_node 1799 net/batman-adv/bat_iv_ogm.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 1804 net/batman-adv/bat_iv_ogm.c neigh_node->addr, neigh_node 1821 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node; neigh_node 1839 net/batman-adv/bat_iv_ogm.c neigh_node = batadv_orig_router_get(orig_node, neigh_node 1841 net/batman-adv/bat_iv_ogm.c if (!neigh_node) neigh_node 1844 net/batman-adv/bat_iv_ogm.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, neigh_node 1860 net/batman-adv/bat_iv_ogm.c neigh_node->addr, neigh_node 1861 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming->net_dev->name); neigh_node 1869 net/batman-adv/bat_iv_ogm.c batadv_neigh_node_put(neigh_node); neigh_node 1891 net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_neigh_get_tq_avg(struct batadv_neigh_node *neigh_node, neigh_node 1897 net/batman-adv/bat_iv_ogm.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 1926 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node, neigh_node 1935 net/batman-adv/bat_iv_ogm.c if (!batadv_iv_ogm_neigh_get_tq_avg(neigh_node, if_outgoing, &tq_avg)) neigh_node 1939 net/batman-adv/bat_iv_ogm.c if_outgoing != neigh_node->if_incoming) neigh_node 1950 net/batman-adv/bat_iv_ogm.c neigh_node->addr) || neigh_node 1952 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming->net_dev->ifindex) || neigh_node 1990 net/batman-adv/bat_iv_ogm.c struct batadv_neigh_node *neigh_node; neigh_node 2006 net/batman-adv/bat_iv_ogm.c hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { neigh_node 2010 net/batman-adv/bat_iv_ogm.c best = (neigh_node == neigh_node_best); neigh_node 2014 net/batman-adv/bat_iv_ogm.c orig_node, neigh_node, neigh_node 136 net/batman-adv/bat_v.c struct batadv_neigh_node *neigh_node; neigh_node 139 net/batman-adv/bat_v.c hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { neigh_node 140 net/batman-adv/bat_v.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 145 net/batman-adv/bat_v.c neigh_node->addr, neigh_node 351 net/batman-adv/bat_v.c struct batadv_neigh_node *neigh_node; neigh_node 369 net/batman-adv/bat_v.c neigh_node = batadv_orig_router_get(orig_node, neigh_node 371 net/batman-adv/bat_v.c if (!neigh_node) neigh_node 374 net/batman-adv/bat_v.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, neigh_node 389 net/batman-adv/bat_v.c neigh_node->addr, neigh_node 390 net/batman-adv/bat_v.c neigh_node->if_incoming->net_dev->name); neigh_node 397 net/batman-adv/bat_v.c batadv_neigh_node_put(neigh_node); neigh_node 427 net/batman-adv/bat_v.c struct batadv_neigh_node *neigh_node, neigh_node 435 net/batman-adv/bat_v.c n_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 446 net/batman-adv/bat_v.c if_outgoing != neigh_node->if_incoming) neigh_node 456 net/batman-adv/bat_v.c neigh_node->addr) || neigh_node 458 net/batman-adv/bat_v.c neigh_node->if_incoming->net_dev->ifindex) || neigh_node 496 net/batman-adv/bat_v.c struct batadv_neigh_node *neigh_node; neigh_node 504 net/batman-adv/bat_v.c hlist_for_each_entry_rcu(neigh_node, &orig_node->neigh_list, list) { neigh_node 508 net/batman-adv/bat_v.c best = (neigh_node == neigh_node_best); neigh_node 512 net/batman-adv/bat_v.c neigh_node, best)) { neigh_node 515 net/batman-adv/bat_v_ogm.c struct batadv_neigh_node *neigh_node, neigh_node 540 net/batman-adv/bat_v_ogm.c if (neigh_node != router) neigh_node 554 net/batman-adv/bat_v_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 607 net/batman-adv/bat_v_ogm.c struct batadv_neigh_node *neigh_node, neigh_node 644 net/batman-adv/bat_v_ogm.c neigh_node->last_seen = jiffies; neigh_node 651 net/batman-adv/bat_v_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_new(neigh_node, if_outgoing); neigh_node 691 net/batman-adv/bat_v_ogm.c struct batadv_neigh_node *neigh_node, neigh_node 733 net/batman-adv/bat_v_ogm.c if (router == neigh_node) neigh_node 742 net/batman-adv/bat_v_ogm.c neigh_ifinfo = batadv_neigh_ifinfo_get(neigh_node, if_outgoing); neigh_node 759 net/batman-adv/bat_v_ogm.c batadv_update_route(bat_priv, orig_node, if_outgoing, neigh_node); neigh_node 790 net/batman-adv/bat_v_ogm.c struct batadv_neigh_node *neigh_node, neigh_node 799 net/batman-adv/bat_v_ogm.c neigh_node, if_incoming, neigh_node 815 net/batman-adv/bat_v_ogm.c neigh_node, if_incoming, neigh_node 820 net/batman-adv/bat_v_ogm.c batadv_v_ogm_forward(bat_priv, ogm2, orig_node, neigh_node, neigh_node 863 net/batman-adv/bat_v_ogm.c struct batadv_neigh_node *neigh_node = NULL; neigh_node 902 net/batman-adv/bat_v_ogm.c neigh_node = batadv_neigh_node_get_or_create(orig_node, if_incoming, neigh_node 904 net/batman-adv/bat_v_ogm.c if (!neigh_node) neigh_node 919 net/batman-adv/bat_v_ogm.c neigh_node, if_incoming, neigh_node 963 net/batman-adv/bat_v_ogm.c orig_node, neigh_node, neigh_node 972 net/batman-adv/bat_v_ogm.c if (neigh_node) neigh_node 973 net/batman-adv/bat_v_ogm.c batadv_neigh_node_put(neigh_node); neigh_node 680 net/batman-adv/distributed-arp-table.c struct batadv_neigh_node *neigh_node = NULL; neigh_node 694 net/batman-adv/distributed-arp-table.c neigh_node = batadv_orig_router_get(cand[i].orig_node, neigh_node 696 net/batman-adv/distributed-arp-table.c if (!neigh_node) neigh_node 707 net/batman-adv/distributed-arp-table.c send_status = batadv_send_unicast_skb(tmp_skb, neigh_node); neigh_node 725 net/batman-adv/distributed-arp-table.c batadv_neigh_node_put(neigh_node); neigh_node 356 net/batman-adv/fragmentation.c struct batadv_neigh_node *neigh_node = NULL; neigh_node 366 net/batman-adv/fragmentation.c neigh_node = batadv_find_router(bat_priv, orig_node_dst, recv_if); neigh_node 367 net/batman-adv/fragmentation.c if (!neigh_node) neigh_node 374 net/batman-adv/fragmentation.c if (total_size > neigh_node->if_incoming->net_dev->mtu) { neigh_node 380 net/batman-adv/fragmentation.c batadv_send_unicast_skb(skb, neigh_node); neigh_node 387 net/batman-adv/fragmentation.c if (neigh_node) neigh_node 388 net/batman-adv/fragmentation.c batadv_neigh_node_put(neigh_node); neigh_node 440 net/batman-adv/fragmentation.c struct batadv_neigh_node *neigh_node) neigh_node 446 net/batman-adv/fragmentation.c unsigned int mtu = neigh_node->if_incoming->net_dev->mtu; neigh_node 516 net/batman-adv/fragmentation.c ret = batadv_send_unicast_skb(skb_fragment, neigh_node); neigh_node 538 net/batman-adv/fragmentation.c ret = batadv_send_unicast_skb(skb, neigh_node); neigh_node 27 net/batman-adv/fragmentation.h struct batadv_neigh_node *neigh_node); neigh_node 177 net/batman-adv/icmp_socket.c struct batadv_neigh_node *neigh_node = NULL; neigh_node 237 net/batman-adv/icmp_socket.c neigh_node = batadv_orig_router_get(orig_node, neigh_node 239 net/batman-adv/icmp_socket.c if (!neigh_node) neigh_node 242 net/batman-adv/icmp_socket.c if (!neigh_node->if_incoming) neigh_node 245 net/batman-adv/icmp_socket.c if (neigh_node->if_incoming->if_status != BATADV_IF_ACTIVE) neigh_node 250 net/batman-adv/icmp_socket.c addr = neigh_node->if_incoming->net_dev->dev_addr; neigh_node 274 net/batman-adv/icmp_socket.c batadv_send_unicast_skb(skb, neigh_node); neigh_node 285 net/batman-adv/icmp_socket.c if (neigh_node) neigh_node 286 net/batman-adv/icmp_socket.c batadv_neigh_node_put(neigh_node); neigh_node 574 net/batman-adv/network-coding.c batadv_send_unicast_skb(nc_packet->skb, nc_packet->neigh_node); neigh_node 1048 net/batman-adv/network-coding.c struct batadv_neigh_node *neigh_node) neigh_node 1071 net/batman-adv/network-coding.c router_neigh = batadv_orig_router_get(neigh_node->orig_node, neigh_node 1081 net/batman-adv/network-coding.c neigh_tmp = nc_packet->neigh_node; neigh_node 1102 net/batman-adv/network-coding.c first_dest = nc_packet->neigh_node; neigh_node 1104 net/batman-adv/network-coding.c second_dest = neigh_node; neigh_node 1113 net/batman-adv/network-coding.c first_dest = neigh_node; neigh_node 1115 net/batman-adv/network-coding.c second_dest = nc_packet->neigh_node; neigh_node 1413 net/batman-adv/network-coding.c struct batadv_neigh_node *neigh_node, neigh_node 1416 net/batman-adv/network-coding.c struct net_device *netdev = neigh_node->if_incoming->soft_iface; neigh_node 1418 net/batman-adv/network-coding.c struct batadv_orig_node *orig_node = neigh_node->orig_node; neigh_node 1426 net/batman-adv/network-coding.c neigh_node->addr, neigh_node 1440 net/batman-adv/network-coding.c neigh_node->addr); neigh_node 1442 net/batman-adv/network-coding.c nc_packet->neigh_node->addr); neigh_node 1446 net/batman-adv/network-coding.c neigh_node)) neigh_node 1468 net/batman-adv/network-coding.c struct batadv_neigh_node *neigh_node, neigh_node 1481 net/batman-adv/network-coding.c nc_packet->neigh_node = neigh_node; neigh_node 1501 net/batman-adv/network-coding.c struct batadv_neigh_node *neigh_node) neigh_node 1503 net/batman-adv/network-coding.c const struct net_device *netdev = neigh_node->if_incoming->soft_iface; neigh_node 1522 net/batman-adv/network-coding.c if (batadv_nc_skb_dst_search(skb, neigh_node, ethhdr)) neigh_node 1529 net/batman-adv/network-coding.c neigh_node->addr); neigh_node 1536 net/batman-adv/network-coding.c if (!batadv_nc_skb_add_to_path(skb, nc_path, neigh_node, packet_id)) neigh_node 36 net/batman-adv/network-coding.h struct batadv_neigh_node *neigh_node); neigh_node 90 net/batman-adv/network-coding.h struct batadv_neigh_node *neigh_node) neigh_node 295 net/batman-adv/originator.c struct batadv_neigh_node *neigh_node; neigh_node 298 net/batman-adv/originator.c neigh_node = container_of(ref, struct batadv_neigh_node, refcount); neigh_node 301 net/batman-adv/originator.c &neigh_node->ifinfo_list, list) { neigh_node 305 net/batman-adv/originator.c batadv_hardif_neigh_put(neigh_node->hardif_neigh); neigh_node 307 net/batman-adv/originator.c batadv_hardif_put(neigh_node->if_incoming); neigh_node 309 net/batman-adv/originator.c kfree_rcu(neigh_node, rcu); neigh_node 317 net/batman-adv/originator.c void batadv_neigh_node_put(struct batadv_neigh_node *neigh_node) neigh_node 319 net/batman-adv/originator.c kref_put(&neigh_node->refcount, batadv_neigh_node_release); neigh_node 663 net/batman-adv/originator.c struct batadv_neigh_node *neigh_node; neigh_node 668 net/batman-adv/originator.c neigh_node = batadv_neigh_node_get(orig_node, hard_iface, neigh_addr); neigh_node 669 net/batman-adv/originator.c if (neigh_node) neigh_node 677 net/batman-adv/originator.c neigh_node = kzalloc(sizeof(*neigh_node), GFP_ATOMIC); neigh_node 678 net/batman-adv/originator.c if (!neigh_node) neigh_node 681 net/batman-adv/originator.c INIT_HLIST_NODE(&neigh_node->list); neigh_node 682 net/batman-adv/originator.c INIT_HLIST_HEAD(&neigh_node->ifinfo_list); neigh_node 683 net/batman-adv/originator.c spin_lock_init(&neigh_node->ifinfo_lock); neigh_node 686 net/batman-adv/originator.c ether_addr_copy(neigh_node->addr, neigh_addr); neigh_node 687 net/batman-adv/originator.c neigh_node->if_incoming = hard_iface; neigh_node 688 net/batman-adv/originator.c neigh_node->orig_node = orig_node; neigh_node 689 net/batman-adv/originator.c neigh_node->last_seen = jiffies; neigh_node 693 net/batman-adv/originator.c neigh_node->hardif_neigh = hardif_neigh; neigh_node 696 net/batman-adv/originator.c kref_init(&neigh_node->refcount); neigh_node 698 net/batman-adv/originator.c kref_get(&neigh_node->refcount); neigh_node 699 net/batman-adv/originator.c hlist_add_head_rcu(&neigh_node->list, &orig_node->neigh_list); neigh_node 710 net/batman-adv/originator.c return neigh_node; neigh_node 726 net/batman-adv/originator.c struct batadv_neigh_node *neigh_node; neigh_node 729 net/batman-adv/originator.c neigh_node = batadv_neigh_node_get(orig_node, hard_iface, neigh_addr); neigh_node 730 net/batman-adv/originator.c if (neigh_node) neigh_node 731 net/batman-adv/originator.c return neigh_node; neigh_node 908 net/batman-adv/originator.c struct batadv_neigh_node *neigh_node; neigh_node 919 net/batman-adv/originator.c hlist_for_each_entry_safe(neigh_node, node_tmp, neigh_node 921 net/batman-adv/originator.c hlist_del_rcu(&neigh_node->list); neigh_node 922 net/batman-adv/originator.c batadv_neigh_node_put(neigh_node); neigh_node 1182 net/batman-adv/originator.c struct batadv_neigh_node *neigh_node; neigh_node 1190 net/batman-adv/originator.c hlist_for_each_entry_safe(neigh_node, node_tmp, neigh_node 1192 net/batman-adv/originator.c last_seen = neigh_node->last_seen; neigh_node 1193 net/batman-adv/originator.c if_incoming = neigh_node->if_incoming; neigh_node 1204 net/batman-adv/originator.c orig_node->orig, neigh_node->addr, neigh_node 1209 net/batman-adv/originator.c orig_node->orig, neigh_node->addr, neigh_node 1214 net/batman-adv/originator.c hlist_del_rcu(&neigh_node->list); neigh_node 1215 net/batman-adv/originator.c batadv_neigh_node_put(neigh_node); neigh_node 1220 net/batman-adv/originator.c batadv_purge_neigh_ifinfo(bat_priv, neigh_node); neigh_node 36 net/batman-adv/originator.h void batadv_neigh_node_put(struct batadv_neigh_node *neigh_node); neigh_node 57 net/batman-adv/routing.c struct batadv_neigh_node *neigh_node) neigh_node 77 net/batman-adv/routing.c if (neigh_node) neigh_node 78 net/batman-adv/routing.c kref_get(&neigh_node->refcount); neigh_node 80 net/batman-adv/routing.c rcu_assign_pointer(orig_ifinfo->router, neigh_node); neigh_node 85 net/batman-adv/routing.c if (curr_router && !neigh_node) { neigh_node 92 net/batman-adv/routing.c } else if (!curr_router && neigh_node) { neigh_node 95 net/batman-adv/routing.c orig_node->orig, neigh_node->addr); neigh_node 97 net/batman-adv/routing.c } else if (neigh_node && curr_router) { neigh_node 100 net/batman-adv/routing.c orig_node->orig, neigh_node->addr, neigh_node 119 net/batman-adv/routing.c struct batadv_neigh_node *neigh_node) neigh_node 128 net/batman-adv/routing.c if (router != neigh_node) neigh_node 129 net/batman-adv/routing.c _batadv_update_route(bat_priv, orig_node, recv_if, neigh_node); neigh_node 21 net/batman-adv/routing.h struct batadv_neigh_node *neigh_node); neigh_node 182 net/batman-adv/send.c struct batadv_neigh_node *neigh_node; neigh_node 186 net/batman-adv/send.c neigh_node = batadv_find_router(bat_priv, orig_node, recv_if); neigh_node 187 net/batman-adv/send.c if (!neigh_node) { neigh_node 196 net/batman-adv/send.c skb->len > neigh_node->if_incoming->net_dev->mtu) { neigh_node 198 net/batman-adv/send.c ret = batadv_frag_send_packet(skb, orig_node, neigh_node); neigh_node 209 net/batman-adv/send.c if (recv_if && batadv_nc_skb_forward(skb, neigh_node)) neigh_node 212 net/batman-adv/send.c ret = batadv_send_unicast_skb(skb, neigh_node); neigh_node 218 net/batman-adv/send.c batadv_neigh_node_put(neigh_node); neigh_node 852 net/batman-adv/send.c struct batadv_hardif_neigh_node *neigh_node; neigh_node 893 net/batman-adv/send.c neigh_node = NULL; neigh_node 896 net/batman-adv/send.c neigh_node = batadv_hardif_neigh_get(hard_iface, neigh_node 900 net/batman-adv/send.c orig_neigh = neigh_node ? neigh_node->orig : NULL; neigh_node 926 net/batman-adv/send.c if (neigh_node) neigh_node 927 net/batman-adv/send.c batadv_hardif_neigh_put(neigh_node); neigh_node 932 net/batman-adv/send.c if (neigh_node) neigh_node 933 net/batman-adv/send.c batadv_hardif_neigh_put(neigh_node); neigh_node 41 net/batman-adv/send.h struct batadv_neigh_node *neigh_node); neigh_node 2102 net/batman-adv/types.h struct batadv_neigh_node *neigh_node; neigh_node 176 net/netrom/nr_route.c hlist_add_head(&nr_neigh->neigh_node, &nr_neigh_list); neigh_node 305 net/netrom/nr_route.c hlist_del_init(&nr_neigh->neigh_node); neigh_node 419 net/netrom/nr_route.c hlist_add_head(&nr_neigh->neigh_node, &nr_neigh_list); neigh_node 922 net/netrom/nr_route.c nr_neigh = hlist_entry(v, struct nr_neigh, neigh_node);