static void stp_acknowledge_topology_change(struct stp_port *);
static void stp_received_config_bpdu(struct stp *, struct stp_port *,
const struct stp_config_bpdu *);
-static void stp_received_tcn_bpdu(struct stp *, struct stp_port *,
- const struct stp_tcn_bpdu *);
+static void stp_received_tcn_bpdu(struct stp *, struct stp_port *);
static void stp_hello_timer_expiry(struct stp *);
static void stp_message_age_timer_expiry(struct stp_port *);
static bool stp_is_designated_for_some_port(const struct stp *);
stp->name, bpdu_size);
return;
}
- stp_received_tcn_bpdu(stp, p, bpdu);
+ stp_received_tcn_bpdu(stp, p);
break;
default:
}
void
-stp_received_tcn_bpdu(struct stp *stp, struct stp_port *p,
- const struct stp_tcn_bpdu *tcn)
+stp_received_tcn_bpdu(struct stp *stp, struct stp_port *p)
{
if (p->state != STP_DISABLED) {
if (stp_is_designated_port(p)) {
-/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
+/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
#endif
flow_end_start(&secchan, s.netflow_dst, local_rconn, remote_rconn);
if (s.enable_stp) {
- stp_start(&secchan, &s, pw, local_rconn, remote_rconn);
+ stp_start(&secchan, pw, local_rconn, remote_rconn);
}
if (s.in_band) {
in_band_start(&secchan, &s, switch_status, pw, remote_rconn);