Lines Matching refs:orig_node
178 struct batadv_orig_node *orig_node, in batadv_send_skb_to_orig() argument
181 struct batadv_priv *bat_priv = orig_node->bat_priv; in batadv_send_skb_to_orig()
186 neigh_node = batadv_find_router(bat_priv, orig_node, recv_if); in batadv_send_skb_to_orig()
198 ret = batadv_frag_send_packet(skb, orig_node, neigh_node); in batadv_send_skb_to_orig()
236 struct batadv_orig_node *orig_node) in batadv_send_skb_push_fill_unicast() argument
239 u8 ttvn = (u8)atomic_read(&orig_node->last_ttvn); in batadv_send_skb_push_fill_unicast()
251 ether_addr_copy(unicast_packet->dest, orig_node->orig); in batadv_send_skb_push_fill_unicast()
266 struct batadv_orig_node *orig_node) in batadv_send_skb_prepare_unicast() argument
270 return batadv_send_skb_push_fill_unicast(skb, uni_size, orig_node); in batadv_send_skb_prepare_unicast()
336 struct batadv_orig_node *orig_node, in batadv_send_skb_unicast() argument
343 if (!orig_node) in batadv_send_skb_unicast()
348 if (!batadv_send_skb_prepare_unicast(skb, orig_node)) in batadv_send_skb_unicast()
353 orig_node, in batadv_send_skb_unicast()
378 ret = batadv_send_skb_to_orig(skb, orig_node, NULL); in batadv_send_skb_unicast()
411 struct batadv_orig_node *orig_node; in batadv_send_skb_via_tt_generic() local
423 orig_node = batadv_transtable_search(bat_priv, src, dst, vid); in batadv_send_skb_via_tt_generic()
426 packet_subtype, orig_node, vid); in batadv_send_skb_via_tt_generic()
428 if (orig_node) in batadv_send_skb_via_tt_generic()
429 batadv_orig_node_put(orig_node); in batadv_send_skb_via_tt_generic()
448 struct batadv_orig_node *orig_node; in batadv_send_skb_via_gw() local
451 orig_node = batadv_gw_get_selected_orig(bat_priv); in batadv_send_skb_via_gw()
453 BATADV_P_DATA, orig_node, vid); in batadv_send_skb_via_gw()
455 if (orig_node) in batadv_send_skb_via_gw()
456 batadv_orig_node_put(orig_node); in batadv_send_skb_via_gw()