diff options
author | Ben Pfaff <blp@nicira.com> | 2011-03-18 15:28:21 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-03-22 09:57:25 -0700 |
commit | 356180a825c94314f3d1667003e64526d1b69da5 (patch) | |
tree | cdd1fbe7cf889c382bf3237fa147ef8fcc01e9d9 /lib/mac-learning.h | |
parent | 1648ddd7c18dab974efae3a007591b6479e3c053 (diff) |
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.
Diffstat (limited to 'lib/mac-learning.h')
-rw-r--r-- | lib/mac-learning.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mac-learning.h b/lib/mac-learning.h index 4930d0bb..16c92dbe 100644 --- a/lib/mac-learning.h +++ b/lib/mac-learning.h @@ -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 */ |