Lines Matching defs:soft_iface
545 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
732 struct net_device *soft_iface;
744 soft_iface = dev_get_by_index(net, ifindex);
745 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
750 bat_priv = netdev_priv(soft_iface);
770 if (hardif->soft_iface != soft_iface) {
789 dev_put(soft_iface);
1230 if (hard_iface->soft_iface != bat_priv->soft_iface)
1319 struct net_device *soft_iface;
1331 soft_iface = dev_get_by_index(net, ifindex);
1332 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
1337 bat_priv = netdev_priv(soft_iface);
1357 if (hardif->soft_iface != soft_iface) {
1376 dev_put(soft_iface);