Home
last modified time | relevance | path

Searched refs:hsr_sup_tag (Results 1 – 4 of 4) sorted by relevance

/linux/net/hsr/
H A Dhsr_main.h93 struct hsr_sup_tag { struct
103 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path() argument
108 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()
115 struct hsr_sup_tag hsr_sup;
121 struct hsr_sup_tag hsr_sup;
H A Dhsr_forward.c38 struct hsr_sup_tag *hsr_sup_tag; in is_supervision_frame() local
66 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->tlv.HSR_TLV_type != HSR_TLV_ANNOUNCE && in is_supervision_frame()
77 hsr_sup_tag->tlv.HSR_TLV_type != HSR_TLV_LIFE_CHECK && in is_supervision_frame()
78 hsr_sup_tag->tlv.HSR_TLV_type != PRP_TLV_LIFE_CHECK_DD && in is_supervision_frame()
79 hsr_sup_tag->tlv.HSR_TLV_type != PRP_TLV_LIFE_CHECK_DA) in is_supervision_frame()
81 if (hsr_sup_tag->tlv.HSR_TLV_length != 12 && in is_supervision_frame()
82 hsr_sup_tag->tlv.HSR_TLV_length != sizeof(struct hsr_sup_payload)) in is_supervision_frame()
86 total_length += hsr_sup_tag->tlv.HSR_TLV_length; in is_supervision_frame()
H A Dhsr_device.c258 len = sizeof(struct hsr_sup_tag) + sizeof(struct hsr_sup_payload); in hsr_init_skb()
298 struct hsr_sup_tag *hsr_stag; in send_hsr_supervision_frame()
319 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
369 struct hsr_sup_tag *hsr_stag; in send_prp_supervision_frame()
379 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_prp_supervision_frame()
H A Dhsr_framereg.c326 pull_size = sizeof(struct hsr_sup_tag); in hsr_handle_sup_frame()