[PATCH 0/2] macvtap support

Beniamino Galvani bgalvani at redhat.com
Mon Oct 5 01:55:37 PDT 2015


Hi,

this adds support for macvtap links in libnl; since macvtaps are a
specialized type of macvlans and reuse the same attributes, the
implementation was added to existing macvlan file.

The second patch is a trivial fix for missing newlines in some debug
messages.

Beniamino

Beniamino Galvani (2):
  Add macvtap support
  route/link: add missing newlines after debug messages

 doc/route.txt                        |  57 +++++++++++
 include/Makefile.am                  |   1 +
 include/netlink/route/link/macvtap.h |  46 +++++++++
 lib/route/link/can.c                 |   2 +-
 lib/route/link/ip6tnl.c              |   2 +-
 lib/route/link/ipgre.c               |   2 +-
 lib/route/link/ipip.c                |   2 +-
 lib/route/link/ipvlan.c              |   2 +-
 lib/route/link/ipvti.c               |   2 +-
 lib/route/link/macvlan.c             | 185 ++++++++++++++++++++++++++++++++++-
 lib/route/link/sit.c                 |   2 +-
 lib/route/link/veth.c                |   2 +-
 lib/route/link/vlan.c                |   2 +-
 lib/route/link/vxlan.c               |   2 +-
 libnl-route-3.sym                    |  15 +++
 tests/.gitignore                     |   1 +
 tests/Makefile.am                    |   1 +
 tests/test-create-macvtap.c          |  50 ++++++++++
 18 files changed, 362 insertions(+), 14 deletions(-)
 create mode 100644 include/netlink/route/link/macvtap.h
 create mode 100644 tests/test-create-macvtap.c

-- 
2.4.3




More information about the libnl mailing list