thom311 / libnl

Netlink Library Suite
GNU Lesser General Public License v2.1
419 stars 311 forks source link

Question: how are multiple VLANs in a bridge with VLAN filtering mode represented #376

Open ievenbach opened 4 months ago

ievenbach commented 4 months ago

Single bridge in VLAN filtering mode may have multiple VLANs. Each VLAN can have set of tagged and untagged ports. All of these ports may be members of the bridge, but sets of ports for each VLAN may differ. How is that represented in libnl? I only found single instance of rtnl_link_bridge_vlan in bridge_info structure.

Use case for this is switchdev - a hardware switch device with multiple ports, and complex filtering capabilities.