[PATCH v2 0/3] Add support for bridge VLANs

David Ahern dsa at cumulusnetworks.com
Wed Nov 25 11:14:13 PST 2015


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

v2:
- addressed comments from Tobias

TO-DO:
- need to handle RTEXT_FILTER_BRVLAN_COMPRESSED. As Tobias noted it is
  the default format for notifications.

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                         | 115 ++++++++++++++---
 lib/route/link/bridge.c                  | 213 +++++++++++++++++++++++++++++++
 lib/route/neigh.c                        |   9 +-
 libnl-route-3.sym                        |   3 +
 8 files changed, 367 insertions(+), 18 deletions(-)

-- 
2.1.4




More information about the libnl mailing list