Lines Matching defs:rtnl
100 assert(netdev->manager->rtnl);
102 callback->callback(netdev->manager->rtnl, m, callback->link);
200 assert(netdev->manager->rtnl);
205 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &req, RTM_SETLINK, link->ifindex);
213 r = sd_netlink_call_async(netdev->manager->rtnl, req, callback, link, 0, NULL);
257 static int netdev_create_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) {
283 assert(netdev->manager->rtnl);
295 callback(netdev->manager->rtnl, m, link);
328 return log_netdev_error_errno(netdev, r, "Could not get rtnl message type: %m");
331 log_netdev_error(netdev, "Cannot set ifindex from unexpected rtnl message type.");
473 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &m, RTM_NEWLINK, 0);
522 r = sd_netlink_call_async(netdev->manager->rtnl, m, callback, link, 0, NULL);
528 r = sd_netlink_call_async(netdev->manager->rtnl, m, netdev_create_handler, netdev, 0, NULL);
549 assert(netdev->manager->rtnl);