Functions | |
void | RedProtocolInit (void) |
Assigns key function pointers based on macro. More... | |
void | RedNodeTableClear (hsrPrpHandle *hsrPrphandle) |
Sets Clear Node Table flag to be used by PRU. More... | |
void | RedIncrementCounter (uint32_t offset, PRUICSS_Handle pruicssHandle) |
Increments statistics counter. More... | |
void | RedSupFrameUpdateTlv (hsrPrpHandle *hsrPrphandle, uint8_t type) |
int32_t | RedTxPacket (void *icssEmachandle, ICSS_EMAC_TxArgument *txArg, void *userArg) |
Enqueues redundancy frames to transmit. More... | |
int32_t | RedRxPktGet (void *icssEmachandle, ICSS_EMAC_RxArgument *rxVoidArg, void *userArg) |
Copies data from L3 receive queues. More... | |
RED_STATUS | RedLifeCheckTaskCreate (hsrPrpHandle *hsrPrphandle, PRUICSS_Handle pruicssHandle) |
Function to create RED Supervision task. More... | |
void | RedLifeCheckTaskDelete (hsrPrpHandle *hsrPrphandle) |
Function to delete RED Supervision task. More... | |
RED_STATUS | RedProtocolStart (hsrPrpHandle *hsrPrphandle, PRUICSS_Handle pruicssHandle) |
Function to start RedProtocolStart. More... | |
void | RedProtocolConfigure (PRUICSS_Handle pruicssHandle) |
Configure IEP to modify max frame size (to acccount for LRE header) More... | |
void | RedProtocolStop (hsrPrpHandle *hsrPrphandle, PRUICSS_Handle pruicssHandle) |
Delete Node Table check Task. More... | |
void RedProtocolInit | ( | void | ) |
Assigns key function pointers based on macro.
void RedNodeTableClear | ( | hsrPrpHandle * | hsrPrphandle | ) |
Sets Clear Node Table flag to be used by PRU.
hsrPrphandle |
void RedIncrementCounter | ( | uint32_t | offset, |
PRUICSS_Handle | pruicssHandle | ||
) |
Increments statistics counter.
offset | Counter |
pruicssHandle | Pointer to PRU ICSS Handle, parent structure containing all switch information |
void RedSupFrameUpdateTlv | ( | hsrPrpHandle * | hsrPrphandle, |
uint8_t | type | ||
) |
int32_t RedTxPacket | ( | void * | icssEmachandle, |
ICSS_EMAC_TxArgument * | txArg, | ||
void * | userArg | ||
) |
Enqueues redundancy frames to transmit.
icssEmachandle | |
txArg | |
userArg |
int32_t RedRxPktGet | ( | void * | icssEmachandle, |
ICSS_EMAC_RxArgument * | rxVoidArg, | ||
void * | userArg | ||
) |
Copies data from L3 receive queues.
icssEmachandle | |
rxVoidArg | |
userArg |
RED_STATUS RedLifeCheckTaskCreate | ( | hsrPrpHandle * | hsrPrphandle, |
PRUICSS_Handle | pruicssHandle | ||
) |
Function to create RED Supervision task.
hsrPrphandle | |
pruicssHandle | Pointer to PRU ICSS Handle, parent structure containing all switch information |
void RedLifeCheckTaskDelete | ( | hsrPrpHandle * | hsrPrphandle | ) |
Function to delete RED Supervision task.
hsrPrphandle |
RED_STATUS RedProtocolStart | ( | hsrPrpHandle * | hsrPrphandle, |
PRUICSS_Handle | pruicssHandle | ||
) |
Function to start RedProtocolStart.
hsrPrphandle | |
pruicssHandle | Pointer to PRU ICSS Handle, parent structure containing all switch information |
void RedProtocolConfigure | ( | PRUICSS_Handle | pruicssHandle | ) |
Configure IEP to modify max frame size (to acccount for LRE header)
pruicssHandle | Pointer to PRU ICSS Handle, parent structure containing all switch information |
void RedProtocolStop | ( | hsrPrpHandle * | hsrPrphandle, |
PRUICSS_Handle | pruicssHandle | ||
) |
Delete Node Table check Task.
hsrPrphandle | |
pruicssHandle | Pointer to PRU ICSS Handle, parent structure containing all switch information |