[PATCH 0/3] Add support for bridge VLANs

David Ahern dsa at cumulusnetworks.com
Tue Nov 24 11:56:02 PST 2015


Add support for VLANs on bridges. VLANs are stored in a bitmap array.
Add display of VLANs to link and neighbor dump

David Ahern (3):
  link: Add AF operation to append attributes to a GETLINK message
  Handle family-based parsing of IFLA_AF_SPEC attribute
  bridge: Add support for VLANs

 include/linux-private/linux/if_bridge.h  |  14 +++
 include/linux-private/linux/rtnetlink.h  |   6 +
 include/netlink-private/route/link/api.h |   4 +
 include/netlink/route/link/bridge.h      |  21 ++++
 lib/route/link.c                         | 107 +++++++++++++---
 lib/route/link/bridge.c                  | 203 +++++++++++++++++++++++++++++++
 lib/route/neigh.c                        |   9 +-
 7 files changed, 348 insertions(+), 16 deletions(-)

-- 
2.1.4




More information about the libnl mailing list