Home
last modified time | relevance | path

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

/linux-6.6.21/net/hsr/
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()
Dhsr_main.h91 struct hsr_sup_tag { struct
101 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path() argument
106 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()
113 struct hsr_sup_tag hsr_sup;
119 struct hsr_sup_tag hsr_sup;
Dhsr_device.c249 skb = dev_alloc_skb(sizeof(struct hsr_sup_tag) + in hsr_init_skb()
282 struct hsr_sup_tag *hsr_stag; in send_hsr_supervision_frame()
298 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
336 struct hsr_sup_tag *hsr_stag; in send_prp_supervision_frame()
346 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_prp_supervision_frame()
Dhsr_framereg.c297 pull_size = sizeof(struct hsr_sup_tag); in hsr_handle_sup_frame()