Searched refs:prot_version (Results 1 – 7 of 7) sorted by relevance
286 if (hsr->announce_count < 3 && hsr->prot_version == 0) { in send_hsr_supervision_frame()299 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_hsr_supervision_frame()300 set_hsr_stag_HSR_ver(hsr_stag, hsr->prot_version); in send_hsr_supervision_frame()304 if (hsr->prot_version > 0) { in send_hsr_supervision_frame()314 hsr_stag->HSR_TLV_length = hsr->prot_version ? in send_hsr_supervision_frame()347 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_prp_supervision_frame()348 set_hsr_stag_HSR_ver(hsr_stag, (hsr->prot_version ? 1 : 0)); in send_prp_supervision_frame()524 hsr->prot_version = protocol_version; in hsr_dev_finalize()
33 (priv->prot_version == PRP_V1 ? "PRP" : "HSR")); in hsr_node_table_show()36 if (priv->prot_version == PRP_V1) in hsr_node_table_show()52 if (priv->prot_version == PRP_V1) in hsr_node_table_show()
276 return hsr_fill_tag(skb, frame, port, port->hsr->prot_version); in hsr_create_tagged_frame()460 if ((!hsr->prot_version && proto == htons(ETH_P_PRP)) || in hsr_fill_frame_info()
62 if ((!hsr->prot_version && protocol == htons(ETH_P_PRP)) || in hsr_handle_frame()
211 enum hsr_version prot_version; /* Indicate if HSRv0, HSRv1 or PRPv1 */ member
143 if (hsr->prot_version == PRP_V1) in hsr_fill_info()
386 if (port->hsr->prot_version != PRP_V1 && net_ratelimit()) in hsr_addr_subst_dest()