Lines Matching defs:ip_dev
1566 struct net_device *ip_dev;
1571 for_each_netdev_rcu (&init_net, ip_dev) {
1572 if (ipv6_chk_addr(&init_net, &laddr6, ip_dev, 1)) {
1573 ndev = ip_dev;
1603 struct net_device *ip_dev = NULL;
1616 for_each_netdev_rcu (&init_net, ip_dev) {
1617 if (ipv6_chk_addr(&init_net, &laddr6, ip_dev, 1)) {
1619 *vlan_id = rdma_vlan_dev_vlan_id(ip_dev);
1620 if (ip_dev->dev_addr && mac)
1621 ether_addr_copy(mac, ip_dev->dev_addr);
1659 struct net_device *ip_dev;
1667 for_each_netdev(&init_net, ip_dev) {
1668 if (!(ip_dev->flags & IFF_UP))
1671 if (((rdma_vlan_dev_vlan_id(ip_dev) >= VLAN_N_VID) ||
1672 (rdma_vlan_dev_real_dev(ip_dev) != iwdev->netdev)) &&
1673 ip_dev != iwdev->netdev)
1676 idev = __in6_dev_get(ip_dev);
1683 &ifp->addr, rdma_vlan_dev_vlan_id(ip_dev),
1684 ip_dev->dev_addr);
1694 cm_info->vlan_id = rdma_vlan_dev_vlan_id(ip_dev);
1718 ip_dev->dev_addr);
1747 struct net_device *ip_dev;
1755 for_each_netdev(&init_net, ip_dev) {
1756 if (!(ip_dev->flags & IFF_UP))
1759 if (((rdma_vlan_dev_vlan_id(ip_dev) >= VLAN_N_VID) ||
1760 (rdma_vlan_dev_real_dev(ip_dev) != iwdev->netdev)) &&
1761 ip_dev != iwdev->netdev)
1764 idev = in_dev_get(ip_dev);
1771 &ifa->ifa_address, rdma_vlan_dev_vlan_id(ip_dev),
1772 ip_dev->dev_addr);
1784 cm_info->vlan_id = rdma_vlan_dev_vlan_id(ip_dev);
1809 ip_dev->dev_addr);