Searched refs:rlink (Results 1 – 1 of 1) sorted by relevance
28 struct rtnl_link *rlink = NULL; in vlan_add() local59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); in vlan_add()66 if_idx = rtnl_link_get_ifindex(rlink); in vlan_add()67 rtnl_link_put(rlink); in vlan_add()68 rlink = NULL; in vlan_add()70 err = rtnl_link_get_kernel(handle, 0, vlan_if_name, &rlink); in vlan_add()73 rtnl_link_put(rlink); in vlan_add()74 rlink = NULL; in vlan_add()81 rlink = rtnl_link_alloc(); in vlan_add()82 if (!rlink) { in vlan_add()[all …]