Home
last modified time | relevance | path

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

/linux/net/hsr/
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 += sizeof(struct hsr_sup_tlv) + hsr_sup_tag->tlv.HSR_TLV_length; in is_supervision_frame()
A Dhsr_main.h107 struct hsr_sup_tag { struct
117 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path() argument
122 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()
129 struct hsr_sup_tag hsr_sup;
135 struct hsr_sup_tag hsr_sup;
A Dhsr_device.c247 skb = dev_alloc_skb(sizeof(struct hsr_sup_tag) + in hsr_init_skb()
280 struct hsr_sup_tag *hsr_stag; in send_hsr_supervision_frame()
297 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
334 struct hsr_sup_tag *hsr_stag; in send_prp_supervision_frame()
345 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_prp_supervision_frame()

Completed in 7 milliseconds