Lines Matching defs:enable
198 _stp_in_enable_port_on_stpm (STPM_T* stpm, int port_index, Bool enable)
204 if (port->portEnabled == enable) {/* nothing to do :) */
209 if (enable) { /* clear port statistics */
218 port->port_name, enable ? "enable" : "disable",
223 port->adminEnable = enable;
481 STP_IN_enable_port (int port_index, Bool enable)
486 if (! enable) {
497 _stp_in_enable_port_on_stpm (stpm, port_index, enable);
789 stp_trace ("%s", "cannot enable");