Lines Matching refs:soft_iface

233 	struct net_device *soft_iface = bat_priv->soft_iface;  in batadv_netlink_mesh_fill()  local
245 nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, soft_iface->ifindex) || in batadv_netlink_mesh_fill()
246 nla_put_string(msg, BATADV_ATTR_MESH_IFNAME, soft_iface->name) || in batadv_netlink_mesh_fill()
248 soft_iface->dev_addr) || in batadv_netlink_mesh_fill()
397 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_mesh()
480 batadv_bla_status_update(bat_priv->soft_iface); in batadv_netlink_set_mesh()
490 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()
600 batadv_nc_status_update(bat_priv->soft_iface); in batadv_netlink_set_mesh()
686 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_tpmeter_notify()
812 bat_priv->soft_iface->ifindex)) in batadv_netlink_hardif_fill()
816 bat_priv->soft_iface->name)) in batadv_netlink_hardif_fill()
879 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_hardif()
970 struct net_device *soft_iface; in batadv_netlink_dump_hardif() local
983 soft_iface = dev_get_by_index(net, ifindex); in batadv_netlink_dump_hardif()
984 if (!soft_iface) in batadv_netlink_dump_hardif()
987 if (!batadv_softif_is_valid(soft_iface)) { in batadv_netlink_dump_hardif()
988 dev_put(soft_iface); in batadv_netlink_dump_hardif()
992 bat_priv = netdev_priv(soft_iface); in batadv_netlink_dump_hardif()
998 if (hard_iface->soft_iface != soft_iface) in batadv_netlink_dump_hardif()
1015 dev_put(soft_iface); in batadv_netlink_dump_hardif()
1047 bat_priv->soft_iface->ifindex)) in batadv_netlink_vlan_fill()
1051 bat_priv->soft_iface->name)) in batadv_netlink_vlan_fill()
1094 dev_net(bat_priv->soft_iface), msg, 0, in batadv_netlink_notify_vlan()
1165 struct net_device *soft_iface; in batadv_get_softif_from_info() local
1173 soft_iface = dev_get_by_index(net, ifindex); in batadv_get_softif_from_info()
1174 if (!soft_iface) in batadv_get_softif_from_info()
1177 if (!batadv_softif_is_valid(soft_iface)) in batadv_get_softif_from_info()
1180 return soft_iface; in batadv_get_softif_from_info()
1183 dev_put(soft_iface); in batadv_get_softif_from_info()
1218 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_get_hardif_from_info()
1277 struct net_device *soft_iface; in batadv_pre_doit() local
1292 soft_iface = batadv_get_softif_from_info(net, info); in batadv_pre_doit()
1293 if (IS_ERR(soft_iface)) in batadv_pre_doit()
1294 return PTR_ERR(soft_iface); in batadv_pre_doit()
1296 bat_priv = netdev_priv(soft_iface); in batadv_pre_doit()
1324 dev_put(bat_priv->soft_iface); in batadv_pre_doit()
1356 dev_put(bat_priv->soft_iface); in batadv_post_doit()