D | vlan.c | 2 * lib/route/link/vlan.c VLAN Link Info 26 #include <netlink/route/link/info-api.h> 27 #include <netlink/route/link/vlan.h> 71 static int vlan_alloc(struct rtnl_link *link) in vlan_alloc() argument 78 link->l_info = vi; in vlan_alloc() 83 static int vlan_parse(struct rtnl_link *link, struct nlattr *data, in vlan_parse() argument 90 NL_DBG(3, "Parsing VLAN link info"); in vlan_parse() 95 if ((err = vlan_alloc(link)) < 0) in vlan_parse() 98 vi = link->l_info; in vlan_parse() 169 static void vlan_free(struct rtnl_link *link) in vlan_free() argument [all …]
|