summaryrefslogtreecommitdiff
path: root/lib/rstp.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-11-14 14:07:50 -0800
committerJarno Rajahalme <jrajahalme@nicira.com>2014-11-14 14:07:50 -0800
commit66ff280de884f85fae205a431af7a572a772cbfd (patch)
tree87d185c516439bac14428e287350f3eb67b4bb5e /lib/rstp.h
parent4b5f19962adccfb3b4a431c9787c45e2c410ab55 (diff)
downloadopenvswitch-66ff280de884f85fae205a431af7a572a772cbfd.tar.gz
rstp: Refactor rstp_check_and_reset_fdb_flush().
With this commit, RSTP is able to flush from the MAC learning table entries pertaining to a single port. Before this commit the whole table was flushed every time a port requested flushing actions. Signed-off-by: Daniele Venturino <daniele.venturino@m3s.it> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'lib/rstp.h')
-rw-r--r--lib/rstp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rstp.h b/lib/rstp.h
index b429e35e4..b05cdf24a 100644
--- a/lib/rstp.h
+++ b/lib/rstp.h
@@ -157,7 +157,7 @@ void rstp_tick_timers(struct rstp *)
void rstp_port_received_bpdu(struct rstp_port *, const void *bpdu,
size_t bpdu_size)
OVS_EXCLUDED(rstp_mutex);
-bool rstp_check_and_reset_fdb_flush(struct rstp *)
+void *rstp_check_and_reset_fdb_flush(struct rstp *, struct rstp_port **)
OVS_EXCLUDED(rstp_mutex);
void *rstp_get_next_changed_port_aux(struct rstp *, struct rstp_port **)
OVS_EXCLUDED(rstp_mutex);