|
AM243x MCU+ SDK
08.06.00
|
|
Go to the documentation of this file.
38 #ifndef RED_NODETABLE_H_
39 #define RED_NODETABLE_H_
struct ICSS_EMAC_Config_s * ICSS_EMAC_Handle
Alias for ICSS EMAC Handle containing base addresses and modules.
Definition: icss_emac.h:449
RED_STATUS RedGetNodeTableEntry(RED_NODE_TABLE *pNodeTable, hsrPrpHandle *hsrPrphandle)
Gets the Node Table entry by an index return by redGetIndexArrayEntry.
uint16_t size
Definition: tisci_boardcfg.h:1
RemNodeType_t
Remote Node Type.
Definition: hsrPrp_red_common.h:360
uint16_t index
Definition: tisci_rm_proxy.h:3
RED_STATUS RedNodetableSearchOp(uint8_t *srcMacId, uint8_t port, uint8_t isSupFrame, hsrPrpHandle *hsrPrphandle, uint16_t flags)
searches for the macid in the nodetable
bool RedNodetableLinearSearch(uint16_t start, uint16_t size, uint8_t *macid, uint16_t *index, hsrPrpHandle *hsrPrphandle)
linear search implementation | search for the param macid in the BIN ARRAY where starting index for s...
struct hsrPrp_Config_s hsrPrpHandle
Definition: hsrPrp_handle.h:92
void RedNodetableRefresh(void *args)
increment the timeLastSeenX values by 1 every 10 ms & delete a nodetable entry if it reaches NODE_FOR...
Commonly used Macros, structures and Offsets.
RED_STATUS RedGetIndexArrayEntry(uint8_t index, uint8_t *pEntry, ICSS_EMAC_Handle icssEmacHandle)
RED_STATUS
RED Status.
Definition: hsrPrp_red_common.h:526
RED_STATUS RedInsertNodeTable(uint8_t port, uint8_t isSupFrame, hsrPrpHandle *hsrPrphandle, uint16_t flags)
makes an insertion in the node table
uint32_t RedGetNodesCount(PRUICSS_Handle pruicssHandle)
RemNodeType_t RedGetRemNodeType(uint8_t nodeEntryStatus)
Gets the type of a remote node.
Include file for hsrPrp_red_hsr.c.
Definition: endat_drv.h:111
struct PRUICSS_Config_s * PRUICSS_Handle
A handle that is returned from a PRUICSS_open() call. This handle is required for calling other APIs.
Definition: pruicss/g_v0/pruicss.h:235
Node Table.
Definition: hsrPrp_red_common.h:514