Lines Matching defs:rtnl
88 sd_netlink *rtnl,
98 assert(rtnl);
104 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0);
152 r = sd_netlink_call(rtnl, m, 0, NULL);
164 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
185 r = sd_netlink_open(&rtnl);
189 r = add_veth(rtnl, pid, iface_name, &mac_host, "host0", &mac_container);
205 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
216 r = sd_netlink_open(&rtnl);
231 r = add_veth(rtnl, pid, *a, &mac_host, *b, &mac_container);
243 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
253 r = sd_netlink_open(&rtnl);
257 r = sd_rtnl_message_new_link(rtnl, &m, RTM_SETLINK, 0);
273 r = sd_netlink_call(rtnl, m, 0, NULL);
304 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
311 r = sd_netlink_open(&rtnl);
329 r = sd_rtnl_message_new_link(rtnl, &m, RTM_SETLINK, ifi);
337 r = sd_netlink_call(rtnl, m, 0, NULL);
347 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
355 r = sd_netlink_open(&rtnl);
379 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0);
425 r = sd_netlink_call(rtnl, m, 0, NULL);
435 _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
442 r = sd_netlink_open(&rtnl);
461 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0);
503 r = sd_netlink_call(rtnl, m, 0, NULL);