Lines Matching refs:if_outgoing

230 	if (neigh_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
231 batadv_hardif_put(neigh_ifinfo->if_outgoing);
284 * @if_outgoing: the interface where the payload packet has been received or
293 const struct batadv_hard_iface *if_outgoing)
300 if (orig_ifinfo->if_outgoing != if_outgoing)
317 * @if_outgoing: the interface for which the ifinfo should be acquired
325 struct batadv_hard_iface *if_outgoing)
332 if (tmp->if_outgoing != if_outgoing)
349 * @if_outgoing: the interface for which the ifinfo should be acquired
351 * Return: NULL in case of failure or the orig_ifinfo object for the if_outgoing
359 struct batadv_hard_iface *if_outgoing)
366 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, if_outgoing);
374 if (if_outgoing != BATADV_IF_DEFAULT)
375 kref_get(&if_outgoing->refcount);
380 orig_ifinfo->if_outgoing = if_outgoing;
395 * @if_outgoing: the interface for which the ifinfo should be acquired
403 struct batadv_hard_iface *if_outgoing)
411 if (tmp_neigh_ifinfo->if_outgoing != if_outgoing)
428 * @if_outgoing: the interface for which the ifinfo should be acquired
431 * if_outgoing interface otherwise. The object is created and added to the list
438 struct batadv_hard_iface *if_outgoing)
444 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh, if_outgoing);
452 if (if_outgoing)
453 kref_get(&if_outgoing->refcount);
457 neigh_ifinfo->if_outgoing = if_outgoing;
779 if (orig_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
780 batadv_hardif_put(orig_ifinfo->if_outgoing);
983 struct batadv_hard_iface *if_outgoing;
991 if_outgoing = neigh_ifinfo->if_outgoing;
994 if (if_outgoing == BATADV_IF_DEFAULT)
998 if (if_outgoing->if_status != BATADV_IF_INACTIVE &&
999 if_outgoing->if_status != BATADV_IF_NOT_IN_USE &&
1000 if_outgoing->if_status != BATADV_IF_TO_BE_REMOVED)
1005 neigh->addr, if_outgoing->net_dev->name);
1026 struct batadv_hard_iface *if_outgoing;
1035 if_outgoing = orig_ifinfo->if_outgoing;
1038 if (if_outgoing == BATADV_IF_DEFAULT)
1042 if (if_outgoing->if_status != BATADV_IF_INACTIVE &&
1043 if_outgoing->if_status != BATADV_IF_NOT_IN_USE &&
1044 if_outgoing->if_status != BATADV_IF_TO_BE_REMOVED)
1049 orig_node->orig, if_outgoing->net_dev->name);
1128 * @if_outgoing: the interface for which the metric should be compared
1135 struct batadv_hard_iface *if_outgoing)
1142 if (best && (bao->neigh.cmp(neigh, if_outgoing, best,
1143 if_outgoing) <= 0))