Home
last modified time | relevance | path

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

/linux-6.12.1/net/hsr/
Dhsr_debugfs.c25 (priv->prot_version == PRP_V1 ? "PRP" : "HSR")); in hsr_node_table_show()
28 if (priv->prot_version == PRP_V1) in hsr_node_table_show()
44 if (priv->prot_version == PRP_V1) in hsr_node_table_show()
Dhsr_device.c300 if (hsr->announce_count < 3 && hsr->prot_version == 0) { in send_hsr_supervision_frame()
313 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_hsr_supervision_frame()
314 set_hsr_stag_HSR_ver(hsr_stag, hsr->prot_version); in send_hsr_supervision_frame()
318 if (hsr->prot_version > 0) { in send_hsr_supervision_frame()
328 hsr_stag->tlv.HSR_TLV_length = hsr->prot_version ? in send_hsr_supervision_frame()
373 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_prp_supervision_frame()
374 set_hsr_stag_HSR_ver(hsr_stag, (hsr->prot_version ? 1 : 0)); in send_prp_supervision_frame()
641 hsr->prot_version = protocol_version; in hsr_dev_finalize()
Dhsr_main.c139 *ver = hsr->prot_version; in hsr_get_version()
Dhsr_slave.c65 if ((!hsr->prot_version && protocol == htons(ETH_P_PRP)) || in hsr_handle_frame()
Dhsr_main.h207 enum hsr_version prot_version; /* Indicate if HSRv0, HSRv1 or PRPv1 */ member
Dhsr_forward.c349 return hsr_fill_tag(skb, frame, port, port->hsr->prot_version); in hsr_create_tagged_frame()
615 if ((!hsr->prot_version && proto == htons(ETH_P_PRP)) || in hsr_fill_frame_info()
Dhsr_netlink.c168 if (hsr->prot_version == PRP_V1) in hsr_fill_info()
Dhsr_framereg.c451 if (port->hsr->prot_version != PRP_V1 && net_ratelimit()) in hsr_addr_subst_dest()
/linux-6.12.1/drivers/s390/net/
Dqeth_core_mpc.h823 __u16 prot_version; member
Dqeth_core_main.c857 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_check_ipa_data()
859 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_check_ipa_data()
865 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_check_ipa_data()
867 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_check_ipa_data()
3099 hdr->prot_version = prot; in qeth_ipa_alloc_cmd()
3257 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_query_ipassists_cb()
3259 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_query_ipassists_cb()
6047 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_setassparms_cb()
6049 if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_setassparms_cb()
Dqeth_l3_main.c1312 QETH_CARD_TEXT_(card, 4, "%i", cmd->hdr.prot_version); in qeth_l3_arp_query_cb()
1337 if (!arpentry_matches_prot(etype, cmd->hdr.prot_version)) { in qeth_l3_arp_query_cb()