/* writes a filtering entry in NPE linear format  */
IX_ETH_DB_PRIVATE void ixEthDBNPELearningNodeWrite(void *address, MacTreeNode *node)
/* writes a filtering entry in NPE linear format  */
IX_ETH_DB_PRIVATE void ixEthDBNPELearningNodeWrite(void *address, MacTreeNode *node)
{
    memcpy(address, node->descriptor->macAddress, IX_IEEE803_MAC_ADDRESS_SIZE);
    NPE_NODE_BYTE(address, IX_EDB_NPE_NODE_ELT_PORT_ID_OFFSET) = IX_ETH_DB_PORT_ID_TO_NPE_LOGICAL_ID(node->descriptor->portID);
    NPE_NODE_BYTE(address, IX_EDB_NPE_NODE_ELT_FLAGS_OFFSET) = (UINT8) IX_EDB_FLAGS_INACTIVE_VALID;
    IX_ETH_DB_NPE_VERBOSE_TRACE("DB: (NPEAdaptor) writing ELT node 0x%08x:0x%08x\n", * (UINT32 *) address, * (((UINT32 *) (address)) + 1));
}