Lines Matching defs:if_outgoing

253 	if (neigh_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
254 batadv_hardif_put(neigh_ifinfo->if_outgoing);
307 * @if_outgoing: the interface where the payload packet has been received or
316 const struct batadv_hard_iface *if_outgoing)
323 if (orig_ifinfo->if_outgoing != if_outgoing)
341 * @if_outgoing: the interface where the payload packet has been received or
349 struct batadv_hard_iface *if_outgoing)
358 neigh_node = batadv_find_router(bat_priv, orig_node, if_outgoing);
367 * @if_outgoing: the interface for which the ifinfo should be acquired
375 struct batadv_hard_iface *if_outgoing)
382 if (tmp->if_outgoing != if_outgoing)
399 * @if_outgoing: the interface for which the ifinfo should be acquired
401 * Return: NULL in case of failure or the orig_ifinfo object for the if_outgoing
409 struct batadv_hard_iface *if_outgoing)
416 orig_ifinfo = batadv_orig_ifinfo_get(orig_node, if_outgoing);
424 if (if_outgoing != BATADV_IF_DEFAULT)
425 kref_get(&if_outgoing->refcount);
430 orig_ifinfo->if_outgoing = if_outgoing;
445 * @if_outgoing: the interface for which the ifinfo should be acquired
453 struct batadv_hard_iface *if_outgoing)
461 if (tmp_neigh_ifinfo->if_outgoing != if_outgoing)
478 * @if_outgoing: the interface for which the ifinfo should be acquired
481 * if_outgoing interface otherwise. The object is created and added to the list
488 struct batadv_hard_iface *if_outgoing)
494 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh, if_outgoing);
502 if (if_outgoing)
503 kref_get(&if_outgoing->refcount);
507 neigh_ifinfo->if_outgoing = if_outgoing;
813 if (orig_ifinfo->if_outgoing != BATADV_IF_DEFAULT)
814 batadv_hardif_put(orig_ifinfo->if_outgoing);
1013 struct batadv_hard_iface *if_outgoing;
1021 if_outgoing = neigh_ifinfo->if_outgoing;
1024 if (if_outgoing == BATADV_IF_DEFAULT)
1028 if (if_outgoing->if_status != BATADV_IF_INACTIVE &&
1029 if_outgoing->if_status != BATADV_IF_NOT_IN_USE &&
1030 if_outgoing->if_status != BATADV_IF_TO_BE_REMOVED)
1035 neigh->addr, if_outgoing->net_dev->name);
1056 struct batadv_hard_iface *if_outgoing;
1065 if_outgoing = orig_ifinfo->if_outgoing;
1068 if (if_outgoing == BATADV_IF_DEFAULT)
1072 if (if_outgoing->if_status != BATADV_IF_INACTIVE &&
1073 if_outgoing->if_status != BATADV_IF_NOT_IN_USE &&
1074 if_outgoing->if_status != BATADV_IF_TO_BE_REMOVED)
1079 orig_node->orig, if_outgoing->net_dev->name);
1158 * @if_outgoing: the interface for which the metric should be compared
1165 struct batadv_hard_iface *if_outgoing)
1172 if (best && (bao->neigh.cmp(neigh, if_outgoing, best,
1173 if_outgoing) <= 0))