Delete vlan filter from port interface of vlan-aware bridge
Kurt, Yasin
yasin.kurt at siemens.com
Mon May 13 04:26:09 PDT 2024
Hi,
I need to update vlan-aware bridge interfaces. I can add a vlan filter to the interface successfully.
Besides, I need to delete a vlan filter sometimes from the same interface. For this purpose, I cannot find any possible solution.
I see that "rtnl_link_bridge_unset_port_vlan_map_range" function has been created for this purpose, how should I use this function, which order should be followed?
I analyzed the iproute "bridge vlan del vid <ID> dev <DEV>" command and it sends RTM_DELLINK message with device and vlan information. I cannot figure out any flow to have the same message.
Thanks,
Yasin
More information about the libnl
mailing list