|
AM243x MCU+ SDK
08.06.00
|
|
Go to the documentation of this file.
57 #define ETHER_TYPE_HSR ( 0x892F )
58 #define ETHER_TYPE_HSR_SUP ( ETHER_TYPE_RED_SUP )
60 #define HSR_TAG_SIZE ( 6 )
61 #define HSR_TAG_PATHID_OFFSET ( 2 )
62 #define HSR_LAN_A_MAGIC ( 0x00 )
63 #define HSR_LAN_B_MAGIC ( 0x01 )
65 #define HSR_TLV1_TYPE ( 23 )
67 #define HSR_SUP_SIZE ( RED_SUP_SIZE )
68 #define HSR_SUP_PATH ( RED_SUP_PATH )
69 #define HSR_SUP_VER ( RED_SUP_VER )
70 #define HSR_SUP_PAD ( RED_SUP_PAD )
73 typedef struct _HSR_TAG
83 typedef struct _HSR_SUP_FRAME
113 const uint8_t *pFrame,
void HsrSupFrameUpdateSrcAdd(RED_FRAME *pRedFrame, uint8_t *srcAdd)
Updates Source Address of a HSR Supervision frame.
RED_FRAME * HsrSupFrameAllocate(hsrPrpHandle *)
Allocates a RED_FRAME that holds HSR Supervision frame.
Definition: hsrPrp_red_common.h:107
Definition: hsrPrp_red_hsr.h:74
#define ETHER_ADDR_LEN
Definition: hsrPrp_red_common.h:83
Definition: hsrPrp_red_common.h:117
#define HSR_SUP_PAD
Definition: hsrPrp_red_hsr.h:70
struct hsrPrp_Config_s hsrPrpHandle
Definition: hsrPrp_handle.h:92
TLV2_TAG tlv2_tag
Definition: hsrPrp_red_hsr.h:91
uint16_t seq_nr
Definition: hsrPrp_red_hsr.h:78
Definition: hsrPrp_red_hsr.h:84
HSR_TAG hsr_tag
Definition: hsrPrp_red_hsr.h:88
Commonly used Macros, structures and Offsets.
void HsrFrameFill(hsrPrpHandle *, RED_FRAME *pRedFrame, const uint8_t *pFrame, int32_t frameSize)
void HsrSupFrameUpdatePathId(RED_FRAME *pRedFrame, uint16_t pathId)
Definition: hsrPrp_red_common.h:127
uint16_t ether_type
Definition: hsrPrp_red_hsr.h:76
Include file for hsrPrp_red_hsr.c.
TLV0_TAG tlv0_tag
Definition: hsrPrp_red_hsr.h:92
void HsrFrameUpdatePathId(RED_FRAME *pRedFrame, uint16_t pathId)
Updates PATH ID of a RED_FRAME.
Definition: hsrPrp_red_common.h:137
void HsrSupFrameUpdateSeqNr(hsrPrpHandle *, RED_FRAME *pRedFrame)
Definition: hsrPrp_red_common.h:146
void HsrSupFrameIncrementSeqNr(hsrPrpHandle *)
SUP_TAG sup_tag
Definition: hsrPrp_red_hsr.h:89
uint16_t path_and_size
Definition: hsrPrp_red_hsr.h:77
TLV1_TAG tlv1_tag
Definition: hsrPrp_red_hsr.h:90