/* retrieves the STP blocking state of a port  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBSpanningTreeBlockingStateGet(IxEthDBPortId portID, BOOL *blocked)
/* retrieves the STP blocking state of a port  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBSpanningTreeBlockingStateGet(IxEthDBPortId portID, BOOL *blocked)
{
    IX_ETH_DB_CHECK_PORT(portID);
    IX_ETH_DB_CHECK_SINGLE_NPE(portID);
    IX_ETH_DB_CHECK_FEATURE(portID, IX_ETH_DB_SPANNING_TREE_PROTOCOL);
    IX_ETH_DB_CHECK_REFERENCE(blocked);
    *blocked = ixEthDBPortInfo[portID].stpBlocked;
    return IX_ETH_DB_SUCCESS;
}