Questions on Netlink sockets

Bhaskar Upadhyayula bu.kernel at gmail.com
Mon Aug 17 18:55:43 EDT 2015


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 <vlan-intf-name> link <parent-intf-name> type
vlan id <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.



More information about the Kernelnewbies mailing list