Lines Matching refs:hard_iface
313 const struct batadv_hard_iface *hard_iface; in batadv_is_my_mac() local
317 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_is_my_mac()
318 if (hard_iface->if_status != BATADV_IF_ACTIVE) in batadv_is_my_mac()
321 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_is_my_mac()
324 if (batadv_compare_eth(hard_iface->net_dev->dev_addr, addr)) { in batadv_is_my_mac()
477 struct batadv_hard_iface *hard_iface; in batadv_batman_skb_recv() local
480 hard_iface = container_of(ptype, struct batadv_hard_iface, in batadv_batman_skb_recv()
487 if (!kref_get_unless_zero(&hard_iface->refcount)) in batadv_batman_skb_recv()
504 if (!hard_iface->soft_iface) in batadv_batman_skb_recv()
507 bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_batman_skb_recv()
513 if (hard_iface->if_status != BATADV_IF_ACTIVE) in batadv_batman_skb_recv()
529 (*batadv_rx_handler[idx])(skb, hard_iface); in batadv_batman_skb_recv()
531 batadv_hardif_put(hard_iface); in batadv_batman_skb_recv()
542 batadv_hardif_put(hard_iface); in batadv_batman_skb_recv()