Lines Matching refs:soft_iface
231 struct net_device *soft_iface = bat_priv->soft_iface; in batadv_netlink_mesh_fill() local
243 nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, soft_iface->ifindex) || in batadv_netlink_mesh_fill()
244 nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, soft_iface->name) || in batadv_netlink_mesh_fill()
246 soft_iface->dev_addr) || in batadv_netlink_mesh_fill()
395 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_mesh()
478 batadv_bla_status_update(bat_priv->soft_iface); in batadv_netlink_set_mesh()
488 batadv_dat_status_update(bat_priv->soft_iface); in batadv_netlink_set_mesh()
498 batadv_update_min_mtu(bat_priv->soft_iface); in batadv_netlink_set_mesh()
598 batadv_nc_status_update(bat_priv->soft_iface); in batadv_netlink_set_mesh()
684 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_tpmeter_notify()
810 bat_priv->soft_iface->ifindex)) in batadv_netlink_hardif_fill()
814 bat_priv->soft_iface->name)) in batadv_netlink_hardif_fill()
877 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_hardif()
968 struct net_device *soft_iface; in batadv_netlink_dump_hardif() local
981 soft_iface = dev_get_by_index(net, ifindex); in batadv_netlink_dump_hardif()
982 if (!soft_iface) in batadv_netlink_dump_hardif()
985 if (!batadv_softif_is_valid(soft_iface)) { in batadv_netlink_dump_hardif()
986 dev_put(soft_iface); in batadv_netlink_dump_hardif()
990 bat_priv = netdev_priv(soft_iface); in batadv_netlink_dump_hardif()
996 if (hard_iface->soft_iface != soft_iface) in batadv_netlink_dump_hardif()
1013 dev_put(soft_iface); in batadv_netlink_dump_hardif()
1045 bat_priv->soft_iface->ifindex)) in batadv_netlink_vlan_fill()
1049 bat_priv->soft_iface->name)) in batadv_netlink_vlan_fill()
1092 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_vlan()
1163 struct net_device *soft_iface; in batadv_get_softif_from_info() local
1171 soft_iface = dev_get_by_index(net, ifindex); in batadv_get_softif_from_info()
1172 if (!soft_iface) in batadv_get_softif_from_info()
1175 if (!batadv_softif_is_valid(soft_iface)) in batadv_get_softif_from_info()
1178 return soft_iface; in batadv_get_softif_from_info()
1181 dev_put(soft_iface); in batadv_get_softif_from_info()
1216 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_get_hardif_from_info()
1276 struct net_device *soft_iface; in batadv_pre_doit() local
1291 soft_iface = batadv_get_softif_from_info(net, info); in batadv_pre_doit()
1292 if (IS_ERR(soft_iface)) in batadv_pre_doit()
1293 return PTR_ERR(soft_iface); in batadv_pre_doit()
1295 bat_priv = netdev_priv(soft_iface); in batadv_pre_doit()
1323 dev_put(bat_priv->soft_iface); in batadv_pre_doit()
1356 dev_put(bat_priv->soft_iface); in batadv_post_doit()