Lines Matching refs:soft_iface
518 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
705 struct net_device *soft_iface;
717 soft_iface = dev_get_by_index(net, ifindex);
718 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
723 bat_priv = netdev_priv(soft_iface);
743 if (hardif->soft_iface != soft_iface) {
762 dev_put(soft_iface);
1202 if (hard_iface->soft_iface != bat_priv->soft_iface)
1289 struct net_device *soft_iface;
1301 soft_iface = dev_get_by_index(net, ifindex);
1302 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
1307 bat_priv = netdev_priv(soft_iface);
1327 if (hardif->soft_iface != soft_iface) {
1346 dev_put(soft_iface);