Home
last modified time | relevance | path

Searched refs:rlink (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dvlan_util.c37 struct rtnl_link *rlink = NULL; in vlan_add() local
83 if ((rlink = rtnl_link_get_by_name(cache, vlan_if_name))) { in vlan_add()
85 rtnl_link_put(rlink); in vlan_add()
86 rlink = NULL; in vlan_add()
93 rlink = rtnl_link_alloc(); in vlan_add()
94 if (!rlink) { in vlan_add()
99 err = rtnl_link_set_type(rlink, "vlan"); in vlan_add()
106 rtnl_link_set_link(rlink, if_idx); in vlan_add()
107 rtnl_link_set_name(rlink, vlan_if_name); in vlan_add()
109 err = rtnl_link_vlan_set_id(rlink, vid); in vlan_add()
[all …]