Lines Matching refs:hard_iface
312 const struct batadv_hard_iface *hard_iface;
316 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) {
317 if (hard_iface->if_status != BATADV_IF_ACTIVE)
320 if (hard_iface->soft_iface != bat_priv->soft_iface)
323 if (batadv_compare_eth(hard_iface->net_dev->dev_addr, addr)) {
476 struct batadv_hard_iface *hard_iface;
479 hard_iface = container_of(ptype, struct batadv_hard_iface,
486 if (!kref_get_unless_zero(&hard_iface->refcount))
503 if (!hard_iface->soft_iface)
506 bat_priv = netdev_priv(hard_iface->soft_iface);
512 if (hard_iface->if_status != BATADV_IF_ACTIVE)
528 (*batadv_rx_handler[idx])(skb, hard_iface);
530 batadv_hardif_put(hard_iface);
541 batadv_hardif_put(hard_iface);