Home
last modified time | relevance | path

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

/openbmc/linux/net/hsr/
H A Dhsr_forward.c40 struct hsr_sup_tlv *hsr_sup_tlv; in is_supervision_frame() local
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()
H A Dhsr_framereg.c264 struct hsr_sup_tlv *hsr_sup_tlv; in hsr_handle_sup_frame() local
328 hsr_sup_tlv = (struct hsr_sup_tlv *)skb->data; in hsr_handle_sup_frame()
330 if (hsr_sup_tlv->HSR_TLV_type == PRP_TLV_REDBOX_MAC) { in hsr_handle_sup_frame()
335 if (hsr_sup_tlv->HSR_TLV_length != 6) in hsr_handle_sup_frame()
339 pull_size = sizeof(struct hsr_sup_tlv); in hsr_handle_sup_frame()
H A Dhsr_main.h83 struct hsr_sup_tlv { struct
94 struct hsr_sup_tlv tlv; argument