Lines Matching refs:soft_iface
232 struct net_device *soft_iface = bat_priv->soft_iface;
244 nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, soft_iface->ifindex) ||
245 nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, soft_iface->name) ||
247 soft_iface->dev_addr) ||
398 dev_net(bat_priv->soft_iface), msg, 0,
481 batadv_bla_status_update(bat_priv->soft_iface);
491 batadv_dat_status_update(bat_priv->soft_iface);
501 batadv_update_min_mtu(bat_priv->soft_iface);
604 batadv_nc_status_update(bat_priv->soft_iface);
690 dev_net(bat_priv->soft_iface), msg, 0,
816 bat_priv->soft_iface->ifindex))
879 dev_net(bat_priv->soft_iface), msg, 0,
970 struct net_device *soft_iface;
983 soft_iface = dev_get_by_index(net, ifindex);
984 if (!soft_iface)
987 if (!batadv_softif_is_valid(soft_iface)) {
988 dev_put(soft_iface);
992 bat_priv = netdev_priv(soft_iface);
998 if (hard_iface->soft_iface != soft_iface)
1015 dev_put(soft_iface);
1047 bat_priv->soft_iface->ifindex))
1090 dev_net(bat_priv->soft_iface), msg, 0,
1161 struct net_device *soft_iface;
1169 soft_iface = dev_get_by_index(net, ifindex);
1170 if (!soft_iface)
1173 if (!batadv_softif_is_valid(soft_iface))
1176 return soft_iface;
1179 dev_put(soft_iface);
1214 if (hard_iface->soft_iface != bat_priv->soft_iface)
1273 struct net_device *soft_iface;
1288 soft_iface = batadv_get_softif_from_info(net, info);
1289 if (IS_ERR(soft_iface))
1290 return PTR_ERR(soft_iface);
1292 bat_priv = netdev_priv(soft_iface);
1320 dev_put(bat_priv->soft_iface);
1352 dev_put(bat_priv->soft_iface);