DLADM_BRIDGE_PROT_STP
if (!port->admin_status || protect != DLADM_BRIDGE_PROT_STP ||
if (!port->admin_status || protect != DLADM_BRIDGE_PROT_STP ||
else if (protect != DLADM_BRIDGE_PROT_STP)
protect != DLADM_BRIDGE_PROT_STP)
if (!port->admin_status || protect != DLADM_BRIDGE_PROT_STP) {
dladm_bridge_prot_t protect = DLADM_BRIDGE_PROT_STP;
protect == DLADM_BRIDGE_PROT_STP && !pd->sdu_failed ?
if (protect != DLADM_BRIDGE_PROT_STP) {
protect == DLADM_BRIDGE_PROT_STP);
*brprotp = DLADM_BRIDGE_PROT_STP;
*brprotp = DLADM_BRIDGE_PROT_STP;
cfg->stp_enabled = (*brprotp == DLADM_BRIDGE_PROT_STP) ?
*brprotp = DLADM_BRIDGE_PROT_STP;
case DLADM_BRIDGE_PROT_STP: