Creates or updates a filtering entry in the filtering database.
- Parameters:
-
mac | MAC address specification |
vid | VLAN identifier |
port_map | a port map specification with a control element for each outbound port to specify filtering for that MAC address specification and VID |
dynamic | it indicates whether it's a dynamic entry |
- Returns:
- 0 if entry was created or updated. -ENOMEM if no space is available.