From mboxrd@z Thu Jan 1 00:00:00 1970 From: bu.kernel@gmail.com (Bhaskar Upadhyayula) Date: Mon, 17 Aug 2015 15:55:43 -0700 Subject: Questions on Netlink sockets Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hello, I want to check with the group if this is right mailing list to post my question. Here is what I am doing. + From a user-space program, mimicking the behavior of creating a VLAN interface when we execute the following ip command: $ ip link add name link type vlan id Example: $ ip link add name dummy.110 link dummy type vlan id 110 + My program open's a netlink socket and sends information to kernel (interface names, vlan tags etc). My code more or less follows the code in iproute2/ip/iplink.c + My code is not creating VLAN interface as executed by the 'ip link ...' command. I have a few questions around this and can post my code, if required. But please let me know if this is right mailing list or should I post on netdev list (which I feel is for advanced network questions). Thx.