Using libnl to create a (802.1Q) VLAN interface

Joerg Pommnitz pommnitz at yahoo.com
Mon Oct 18 10:08:56 EDT 2010


Hello all,
looking at the libnl-2.0 documentation left me wondering whether it is
currently possible to create new links with libnl. I could only find
rtnl_link_build_change_request/rtnl_link_change. These two functions
seem to be limited to changing attributes of existing links.
So: Does libnl support the "ip link add link ..." functionality? And
btw. what about GRE tunnels?

Thanks in advance and kind regards
  Joerg





More information about the libnl mailing list