Lines Matching defs:netdev
209 NetDev *netdev;
242 HASHMAP_FOREACH(netdev, network->stacked_netdevs, i) {
243 hashmap_remove(network->stacked_netdevs, netdev->ifname);
244 netdev_unref(netdev);
410 NetDev *netdev;
433 r = netdev_get(network->manager, rvalue, &netdev);
439 if (netdev->kind != kind) {
446 network->bridge = netdev;
450 network->bond = netdev;
458 r = hashmap_put(network->stacked_netdevs, netdev->ifname, netdev);
469 netdev_ref(netdev);
567 NetDev *netdev;
575 r = netdev_get(network->manager, rvalue, &netdev);
581 if (netdev->kind != NETDEV_KIND_IPIP &&
582 netdev->kind != NETDEV_KIND_SIT &&
583 netdev->kind != NETDEV_KIND_GRE &&
584 netdev->kind != NETDEV_KIND_GRETAP &&
585 netdev->kind != NETDEV_KIND_IP6GRE &&
586 netdev->kind != NETDEV_KIND_IP6GRETAP &&
587 netdev->kind != NETDEV_KIND_VTI &&
588 netdev->kind != NETDEV_KIND_VTI6 &&
589 netdev->kind != NETDEV_KIND_IP6TNL
596 r = hashmap_put(network->stacked_netdevs, netdev->ifname, netdev);
602 netdev_ref(netdev);