Lines Matching refs:hard_iface
115 struct batadv_hard_iface *hard_iface) in batadv_v_ogm_send_to_if() argument
117 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_send_to_if()
119 if (hard_iface->if_status != BATADV_IF_ACTIVE) in batadv_v_ogm_send_to_if()
126 batadv_send_broadcast_skb(skb, hard_iface); in batadv_v_ogm_send_to_if()
135 struct batadv_hard_iface *hard_iface; in batadv_v_ogm_send() local
178 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_v_ogm_send()
179 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_v_ogm_send()
182 if (!kref_get_unless_zero(&hard_iface->refcount)) in batadv_v_ogm_send()
189 hard_iface->net_dev->name, in batadv_v_ogm_send()
190 hard_iface->net_dev->dev_addr); in batadv_v_ogm_send()
195 batadv_hardif_put(hard_iface); in batadv_v_ogm_send()
199 batadv_v_ogm_send_to_if(skb_tmp, hard_iface); in batadv_v_ogm_send()
200 batadv_hardif_put(hard_iface); in batadv_v_ogm_send()
220 int batadv_v_ogm_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_v_ogm_iface_enable() argument
222 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_iface_enable()
651 struct batadv_hard_iface *hard_iface; in batadv_v_ogm_process() local
709 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_v_ogm_process()
710 if (hard_iface->if_status != BATADV_IF_ACTIVE) in batadv_v_ogm_process()
713 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_v_ogm_process()
716 if (!kref_get_unless_zero(&hard_iface->refcount)) in batadv_v_ogm_process()
721 if_incoming, hard_iface); in batadv_v_ogm_process()
723 batadv_hardif_put(hard_iface); in batadv_v_ogm_process()