<HTML><BODY><p>Hello!<br>As I realized 'vconfig' utitlity uses ioctl(...) interface rather than Netlink messages.<br>To create VLAN link with name "eth1.xxx" we just need to call function rtnl_link_set_name() before calling rtnl_link_add().<br>For examle: rtnl_link_set_name(link, "eth1.1");<br>After that we can obtain interafce index by calling rtnl_link_get_kernel(sock, 0, "eth1.1", &link) and rtnl_link_get_ifindex(link).<br>The problem is solved.<br>Thanks!<br><br></p></BODY></HTML>