Lines Matching refs:if_outgoing
231 if (neigh_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
232 batadv_hardif_put(neigh_ifinfo->if_outgoing);
285 * @if_outgoing: the interface where the payload packet has been received or
294 const struct batadv_hard_iface *if_outgoing)
301 if (orig_ifinfo->if_outgoing != if_outgoing)
318 * @if_outgoing: the interface for which the ifinfo should be acquired
326 struct batadv_hard_iface *if_outgoing)
333 if (tmp->if_outgoing != if_outgoing)
350 * @if_outgoing: the interface for which the ifinfo should be acquired
352 * Return: NULL in case of failure or the orig_ifinfo object for the if_outgoing
360 struct batadv_hard_iface *if_outgoing)
367 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, if_outgoing);
375 if (if_outgoing != BATADV_IF_DEFAULT)
376 kref_get(&if_outgoing->refcount);
381 orig_ifinfo->if_outgoing = if_outgoing;
396 * @if_outgoing: the interface for which the ifinfo should be acquired
404 struct batadv_hard_iface *if_outgoing)
412 if (tmp_neigh_ifinfo->if_outgoing != if_outgoing)
429 * @if_outgoing: the interface for which the ifinfo should be acquired
432 * if_outgoing interface otherwise. The object is created and added to the list
439 struct batadv_hard_iface *if_outgoing)
445 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh, if_outgoing);
453 if (if_outgoing)
454 kref_get(&if_outgoing->refcount);
458 neigh_ifinfo->if_outgoing = if_outgoing;
821 if (orig_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
822 batadv_hardif_put(orig_ifinfo->if_outgoing);
1027 struct batadv_hard_iface *if_outgoing;
1035 if_outgoing = neigh_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 neigh->addr, if_outgoing->net_dev->name);
1070 struct batadv_hard_iface *if_outgoing;
1079 if_outgoing = orig_ifinfo->if_outgoing;
1082 if (if_outgoing == BATADV_IF_DEFAULT)
1086 if (if_outgoing->if_status != BATADV_IF_INACTIVE &&
1087 if_outgoing->if_status != BATADV_IF_NOT_IN_USE &&
1088 if_outgoing->if_status != BATADV_IF_TO_BE_REMOVED)
1093 orig_node->orig, if_outgoing->net_dev->name);
1172 * @if_outgoing: the interface for which the metric should be compared
1179 struct batadv_hard_iface *if_outgoing)
1186 if (best && (bao->neigh.cmp(neigh, if_outgoing, best,
1187 if_outgoing) <= 0))