Home
last modified time | relevance | path

Searched refs:prot_version (Results 1 – 6 of 6) sorted by relevance

/linux/net/hsr/
H A Dhsr_device.c306 if (hsr->announce_count < 3 && hsr->prot_version == 0) { in send_hsr_supervision_frame()
326 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_hsr_supervision_frame()
327 set_hsr_stag_HSR_ver(hsr_stag, hsr->prot_version); in send_hsr_supervision_frame()
331 if (hsr->prot_version > 0) { in send_hsr_supervision_frame()
341 hsr_stag->tlv.HSR_TLV_length = hsr->prot_version ? in send_hsr_supervision_frame()
386 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_prp_supervision_frame()
387 set_hsr_stag_HSR_ver(hsr_stag, (hsr->prot_version ? 1 : 0)); in send_prp_supervision_frame()
764 hsr->prot_version = protocol_version; in hsr_dev_finalize()
H A Dhsr_main.c82 if (hsr->prot_version == PRP_V1) { in hsr_netdev_notify()
148 *ver = hsr->prot_version; in hsr_get_version()
H A Dhsr_forward.c273 if (port->hsr->prot_version) { in hsr_set_path_id()
371 return hsr_fill_tag(skb, frame, port, port->hsr->prot_version); in hsr_create_tagged_frame()
637 if ((!hsr->prot_version && proto == htons(ETH_P_PRP)) || in hsr_fill_frame_info()
H A Dhsr_netlink.c179 if (hsr->prot_version == PRP_V1) in hsr_fill_info()
181 else if (nla_put_u8(skb, IFLA_HSR_VERSION, hsr->prot_version)) in hsr_fill_info()
H A Dhsr_main.h202 enum hsr_version prot_version; /* Indicate if HSRv0, HSRv1 or PRPv1 */ member
H A Dhsr_framereg.c455 if (port->hsr->prot_version != PRP_V1 && net_ratelimit()) in hsr_addr_subst_dest()