Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/hsr/
Dhsr_forward.c38 struct hsr_sup_tag *hsr_sup_tag; in is_supervision_frame() local
60 hsr_sup_tag = &hsr_V1_hdr->hsr_sup; in is_supervision_frame()
62 hsr_sup_tag = in is_supervision_frame()
66 if (hsr_sup_tag->HSR_TLV_type != HSR_TLV_ANNOUNCE && in is_supervision_frame()
67 hsr_sup_tag->HSR_TLV_type != HSR_TLV_LIFE_CHECK && in is_supervision_frame()
68 hsr_sup_tag->HSR_TLV_type != PRP_TLV_LIFE_CHECK_DD && in is_supervision_frame()
69 hsr_sup_tag->HSR_TLV_type != PRP_TLV_LIFE_CHECK_DA) in is_supervision_frame()
71 if (hsr_sup_tag->HSR_TLV_length != 12 && in is_supervision_frame()
72 hsr_sup_tag->HSR_TLV_length != sizeof(struct hsr_sup_payload)) in is_supervision_frame()
Dhsr_main.h99 struct hsr_sup_tag { struct
110 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path() argument
115 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()
122 struct hsr_sup_tag hsr_sup;
128 struct hsr_sup_tag hsr_sup;
Dhsr_device.c248 sizeof(struct hsr_sup_tag) + in hsr_init_skb()
283 struct hsr_sup_tag *hsr_stag; in send_hsr_supervision_frame()
312 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
351 struct hsr_sup_tag *hsr_stag; in send_prp_supervision_frame()
364 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_prp_supervision_frame()
Dhsr_framereg.c295 skb_pull(skb, sizeof(struct hsr_sup_tag)); in hsr_handle_sup_frame()