stp_trace
{stp_trace ("FATAL:%s failed: %s:%d", TXT, MSG, EXCOD); \
extern ULONG stp_trace (const char* fmt, ...);
stp_trace ("port %s 'edge' resolved by timer", port->port_name);
stp_trace ("port %s 'edge' resolved by BPDU", port->port_name);
stp_trace ("usedSpeed=%lu lret=%ld", port->usedSpeed, lret);
stp_trace ("AUTO:operSpeed=%lu", port->operSpeed);
stp_trace ("port %s on %s trace %-8s (was %s) now %s",
stp_trace("port %s no such state machine as '%s'", this->port_name,
stp_trace (" %-12s: flags=0x%04lx fdWhile=%d port=%s", title, flag, this->fdWhile, this->port_name);
stp_trace ("%s", "rcvBpdu: RepeatedDesignateMsg");
stp_trace ("%s", "rcvBpdu: ConfirmedRootMsg");
stp_trace("rcvBpdu: OtherMsg: not point-to-point MAC");
stp_trace("rcvBpdu: OtherMsg: agreement bit not set");
stp_trace ("rcvBpdu: OtherMsg: type %d", port->msgBpduType);
stp_trace ("port %s rx rcvdTcn", port->port_name);
stp_trace ("(%s-%s) rx rcvdTc 0X%lx",
stp_trace ("port %s rx rcvdTcAck 0X%lx",
stp_trace ("port %s: MaxAge=%d MessageAge=%d HelloTime=%d rcvdInfoWhile=null !",
stp_trace ("protocol=%02x%02x version=%02x bpdu_type=%02x\n",
stp_trace ("flags=%02x\n", bpdu->body.flags);
stp_trace ("CfgBpdu on port %s", port->port_name);
stp_trace ("TcnBpdu on port %s", port->port_name);
stp_trace ("RX undef bpdu type=%d", (int) bpdu->hdr.bpdu_type);
stp_trace ("BPDU_RSTP on port %s", port->port_name);
stp_trace ("proposed=%d on port %s",
stp_trace ("(%s-%s) rx AGREEMENT flag !",
stp_trace ("\n%s:", title);
if (! (iii % 24)) stp_trace ("\n%6d:", iii);
if (! (iii % 8)) stp_trace (" ");
stp_trace ("%02lx", (unsigned long) buff[iii]);
stp_trace ("\n");
stp_trace ("%s", "rcvBpdu: OtherMsg:BPDU_TOPO_CHANGE_TYPE");
stp_trace ("rcvBpdu: SuperiorDesignateMsg:bridcmp=%d", (int) bridcmp);
stp_trace ("%s-%s:port %s => Unknown (%d ?)",
stp_trace ("%s(%s-%s) => %s",
stp_trace ("updtRootPrio: dm=%d rootTimes.MessageAge=%d on port %s",
stp_trace ("bridge %s became root", stpm->name);
stp_trace ("bridge %s new root port: %s",
stp_trace ("undef infoIs=%d", (int) port->infoIs);
stp_trace ("setSelectedBridge: TRUE=reselect on port %s", port->port_name);
stp_trace ("%s", "??? STP_rolesel_update_stpm ???");
stp_trace ("hop to BLOCK_PORT role=%d selectedRole=%d",
stp_trace ("%-8s(%s-%s): %s=>%s",
stp_trace ("%s(%s): %s=>%s",
stp_trace ("%d bridge_priority small", (int) uid_cfg->bridge_priority);
stp_trace ("%d bridge_priority large", (int) uid_cfg->bridge_priority);
stp_trace ("%d hello_time small", (int) uid_cfg->hello_time);
stp_trace ("%d hello_time large", (int) uid_cfg->hello_time);
stp_trace ("%d max_age small", (int) uid_cfg->max_age);
stp_trace ("%d max_age large", (int) uid_cfg->max_age);
stp_trace ("%d forward_delay small", (int) uid_cfg->forward_delay);
stp_trace ("%d forward_delay large", (int) uid_cfg->forward_delay);
stp_trace ("Port %s became '%s' adminEdge=%c",
stp_trace("%s (p%02d, all, %s, '%s')",
stp_trace ("changed operSpeed=%lu", port->operSpeed);
stp_trace ("STP_IN_changed_port_duplex(%s)", port->port_name);
stp_trace ("RX bpdu vlan_id=%d port=%d port is absent in the stpm :(", (int) vlan_id, (int) port_index);
stp_trace ("port %s stop rx skipping",
stp_trace ("port %s skip rx %d",
stp_trace ("port %s tc=TRUE by operEdge", port->port_name);
stp_trace ("port %s not operEdge !", port->port_name);
stp_trace ("_check_stpm_config failed %d", (int) rc);
stp_trace ("can't disable rc=%d", (int) rc);
stp_trace ("%s", "STP_stpm_check_bridge_priority failed");
stp_trace ("%s", "cannot enable");
stp_trace ("RSTP instance with tag %d hasn't been created\n", vlan_id);
stp_trace ("implicit create to vlan '%s'", name);
stp_trace ("port %s is operEdge=%c in STP_IN_port_set_cfg",
stp_trace ("implicit create to vlan '%s' failed", name);
stp_trace ("port %s is adminNonStp=%c in STP_IN_port_set_cfg",
stp_trace ("RSTP instance with tag %d hasn't been created\n", vlan_id);
stp_trace ("can't create port %d", port_index);
stp_trace("%s (all, start stpm)",
stp_trace ("STP_IN_stpm_create(%s)", name);
stp_trace("DETECTED: tcWhile=%d on port %s",
stp_trace("PROPAGATING: tcWhile=%d on port %s",
stp_trace("ACKNOWLEDGED: tcWhile=%d on port %s",
stp_trace("NOTIFIED_TCN: tcWhile=%d on port %s",
stp_trace("%s (%s, %s, %s, '%s')",
stp_trace("%s (%s, %s, %s, '%s')",
stp_trace ("port %s stop tx skipping",
stp_trace ("port %s txTcn", this->owner.port->port_name);
stp_trace ("tcWhile=%d =>tx TOPOLOGY_CHANGE_BIT to port %s",
stp_trace ("port %s stop tx skipping",
stp_trace ("port %s txConfig flags=0X%lx",
stp_trace ("port %s stop tx skipping",
stp_trace ("port %s skip tx %d",
stp_trace ("tx AGREEMENT_BIT to port %s", port->port_name);
stp_trace ("tx PROPOSAL_BIT to port %s", port->port_name);
stp_trace ("port %s txRstp flags=0X%lx",
stp_trace ("%s=%04lX-%02x%02x%02x%02x%02x%02x",
stp_trace (cr ? "\n" : " ");
stp_trace ("%s:", title);
stp_trace (" dp=%lx bp=%lx ",
stp_trace ("\n");