AM64x MCU+ SDK  08.02.00

Introduction

Functions

void PrpFrameFill (hsrPrpHandle *hsrPrphandle, RED_FRAME *pRedFrame, const uint8_t *pFrame, int32_t frameSize)
 
void PrpFrameUpdateLanId (RED_FRAME *pPrpFrame, uint16_t pathId)
 
RED_FRAMEPrpSupFrameAllocate (hsrPrpHandle *hsrPrphandle)
 Allocates a RED_FRAME that holds PRP Supervision frame. More...
 
void PrpSupFrameUpdateSrcAdd (RED_FRAME *pRedFrame, uint8_t *srcAdd)
 Updates Source Address of a PRP Supervision frame. More...
 
void PrpSupFrameUpdateLanId (RED_FRAME *pRedFrame, uint16_t lanId)
 Updates LAN ID of a PRP Supervision frame. More...
 
void PrpSupFrameUpdateSeqNr (hsrPrpHandle *hsrPrphandle, RED_FRAME *pRedFrame)
 
void PrpSupFrameUpdateTlv (RED_FRAME *pRedFrame, uint8_t type)
 
void PrpSupFrameIncrementSeqNr (hsrPrpHandle *hsrPrphandle)
 

Function Documentation

◆ PrpFrameFill()

void PrpFrameFill ( hsrPrpHandle hsrPrphandle,
RED_FRAME pRedFrame,
const uint8_t *  pFrame,
int32_t  frameSize 
)

◆ PrpFrameUpdateLanId()

void PrpFrameUpdateLanId ( RED_FRAME pPrpFrame,
uint16_t  pathId 
)

◆ PrpSupFrameAllocate()

RED_FRAME* PrpSupFrameAllocate ( hsrPrpHandle hsrPrphandle)

Allocates a RED_FRAME that holds PRP Supervision frame.

Parameters
hsrPrphandle
Returns
Pointer to a RED_FRAME structure

◆ PrpSupFrameUpdateSrcAdd()

void PrpSupFrameUpdateSrcAdd ( RED_FRAME pRedFrame,
uint8_t *  srcAdd 
)

Updates Source Address of a PRP Supervision frame.

Parameters
pRedFramepointer to a RED_FRAME
srcAddpointer to a new source address value

◆ PrpSupFrameUpdateLanId()

void PrpSupFrameUpdateLanId ( RED_FRAME pRedFrame,
uint16_t  lanId 
)

Updates LAN ID of a PRP Supervision frame.

Parameters
pRedFramepointer to a RED_FRAME
lanIdLAN ID value

◆ PrpSupFrameUpdateSeqNr()

void PrpSupFrameUpdateSeqNr ( hsrPrpHandle hsrPrphandle,
RED_FRAME pRedFrame 
)

◆ PrpSupFrameUpdateTlv()

void PrpSupFrameUpdateTlv ( RED_FRAME pRedFrame,
uint8_t  type 
)

◆ PrpSupFrameIncrementSeqNr()

void PrpSupFrameIncrementSeqNr ( hsrPrpHandle hsrPrphandle)