Searched refs:hsr_sup_tag (Results 1 – 4 of 4) sorted by relevance
95 struct hsr_sup_tag { struct106 static inline u16 get_hsr_stag_path(struct hsr_sup_tag *hst) in get_hsr_stag_path() argument111 static inline u16 get_hsr_stag_HSR_ver(struct hsr_sup_tag *hst) in get_hsr_stag_HSR_ver()116 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path()121 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()128 struct hsr_sup_tag hsr_sup;134 struct hsr_sup_tag hsr_sup;
48 struct hsr_sup_tag *hsr_sup_tag; in is_supervision_frame() local70 hsr_sup_tag = &hsr_V1_hdr->hsr_sup; in is_supervision_frame()72 hsr_sup_tag = in is_supervision_frame()76 if (hsr_sup_tag->HSR_TLV_type != HSR_TLV_ANNOUNCE && in is_supervision_frame()77 hsr_sup_tag->HSR_TLV_type != HSR_TLV_LIFE_CHECK) in is_supervision_frame()79 if (hsr_sup_tag->HSR_TLV_length != 12 && in is_supervision_frame()80 hsr_sup_tag->HSR_TLV_length != sizeof(struct hsr_sup_payload)) in is_supervision_frame()
252 struct hsr_sup_tag *hsr_stag; in send_hsr_supervision_frame()259 sizeof(struct hsr_sup_tag) + in send_hsr_supervision_frame()285 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
245 skb_pull(skb, sizeof(struct hsr_sup_tag)); in hsr_handle_sup_frame()