2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

mac-learning: Expose function for expiring a single MAC learning entry.

The bridge will soon use this for expiring only the MAC learning entries
associated with a given port at port deletion time.
This commit is contained in:
Ben Pfaff
2011-03-18 15:28:21 -07:00
parent 1648ddd7c1
commit 356180a825
2 changed files with 13 additions and 12 deletions

View File

@@ -113,6 +113,7 @@ struct mac_entry *mac_learning_lookup(const struct mac_learning *,
uint16_t vlan, tag_type *);
/* Flushing. */
void mac_learning_expire(struct mac_learning *, struct mac_entry *);
void mac_learning_flush(struct mac_learning *);
#endif /* mac-learning.h */