Home
last modified time | relevance | path

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

/linux-5.19.10/net/hsr/
Dhsr_forward.c40 struct hsr_sup_tlv *hsr_sup_tlv; in is_supervision_frame() local
86 total_length += sizeof(struct hsr_sup_tlv) + hsr_sup_tag->tlv.HSR_TLV_length; in is_supervision_frame()
90 hsr_sup_tlv = (struct hsr_sup_tlv *)skb->data; in is_supervision_frame()
96 if (hsr_sup_tlv->HSR_TLV_type == PRP_TLV_REDBOX_MAC) { in is_supervision_frame()
98 if (hsr_sup_tlv->HSR_TLV_length != sizeof(struct hsr_sup_payload)) in is_supervision_frame()
102 total_length += sizeof(struct hsr_sup_tlv) + hsr_sup_tlv->HSR_TLV_length; in is_supervision_frame()
108 hsr_sup_tlv = (struct hsr_sup_tlv *)skb->data; in is_supervision_frame()
113 if (hsr_sup_tlv->HSR_TLV_type == HSR_TLV_EOT && in is_supervision_frame()
114 hsr_sup_tlv->HSR_TLV_length != 0) in is_supervision_frame()
Dhsr_framereg.c291 struct hsr_sup_tlv *hsr_sup_tlv; in hsr_handle_sup_frame() local
358 hsr_sup_tlv = (struct hsr_sup_tlv *)skb->data; in hsr_handle_sup_frame()
360 if (hsr_sup_tlv->HSR_TLV_type == PRP_TLV_REDBOX_MAC) { in hsr_handle_sup_frame()
365 if (hsr_sup_tlv->HSR_TLV_length != 6) in hsr_handle_sup_frame()
369 pull_size = sizeof(struct hsr_sup_tlv); in hsr_handle_sup_frame()
Dhsr_main.h86 struct hsr_sup_tlv { struct
97 struct hsr_sup_tlv tlv; argument