Lines Matching refs:neigh_node
182 struct batadv_neigh_node *neigh_node; in batadv_send_skb_to_orig() local
186 neigh_node = batadv_find_router(bat_priv, orig_node, recv_if); in batadv_send_skb_to_orig()
187 if (!neigh_node) { in batadv_send_skb_to_orig()
196 skb->len > neigh_node->if_incoming->net_dev->mtu) { in batadv_send_skb_to_orig()
198 ret = batadv_frag_send_packet(skb, orig_node, neigh_node); in batadv_send_skb_to_orig()
209 if (recv_if && batadv_nc_skb_forward(skb, neigh_node)) in batadv_send_skb_to_orig()
212 ret = batadv_send_unicast_skb(skb, neigh_node); in batadv_send_skb_to_orig()
218 batadv_neigh_node_put(neigh_node); in batadv_send_skb_to_orig()
852 struct batadv_hardif_neigh_node *neigh_node; in batadv_send_outstanding_bcast_packet() local
893 neigh_node = NULL; in batadv_send_outstanding_bcast_packet()
896 neigh_node = batadv_hardif_neigh_get(hard_iface, in batadv_send_outstanding_bcast_packet()
900 orig_neigh = neigh_node ? neigh_node->orig : NULL; in batadv_send_outstanding_bcast_packet()
926 if (neigh_node) in batadv_send_outstanding_bcast_packet()
927 batadv_hardif_neigh_put(neigh_node); in batadv_send_outstanding_bcast_packet()
932 if (neigh_node) in batadv_send_outstanding_bcast_packet()
933 batadv_hardif_neigh_put(neigh_node); in batadv_send_outstanding_bcast_packet()