Searched refs:prot_version (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/net/hsr/ |
| H A D | hsr_device.c | 289 if (hsr->announce_count < 3 && hsr->prot_version == 0) { in send_hsr_supervision_frame() 295 if (!hsr->prot_version) in send_hsr_supervision_frame() 306 if (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() 331 hsr_stag->HSR_TLV_length = hsr->prot_version ? in send_hsr_supervision_frame() 365 set_hsr_stag_path(hsr_stag, (hsr->prot_version ? 0x0 : 0xf)); in send_prp_supervision_frame() 366 set_hsr_stag_HSR_ver(hsr_stag, (hsr->prot_version ? 1 : 0)); in send_prp_supervision_frame() 549 hsr->prot_version = protocol_version; in hsr_dev_finalize()
|
| H A D | hsr_debugfs.c | 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()
|
| H A D | hsr_slave.c | 62 if ((!hsr->prot_version && protocol == htons(ETH_P_PRP)) || in hsr_handle_frame()
|
| H A D | hsr_main.h | 211 enum hsr_version prot_version; /* Indicate if HSRv0, HSRv1 or PRPv1 */ member
|
| H A D | hsr_netlink.c | 143 if (hsr->prot_version == PRP_V1) in hsr_fill_info()
|
| H A D | hsr_forward.c | 274 return hsr_fill_tag(skb, frame, port, port->hsr->prot_version); in hsr_create_tagged_frame()
|
| /OK3568_Linux_fs/kernel/drivers/s390/net/ |
| H A D | qeth_core_mpc.h | 800 __u16 prot_version; member
|
| H A D | qeth_core_main.c | 918 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_check_ipa_data() 920 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_check_ipa_data() 926 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_check_ipa_data() 928 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_check_ipa_data() 3123 hdr->prot_version = prot; in qeth_ipa_alloc_cmd() 3281 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_query_ipassists_cb() 3283 else if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_query_ipassists_cb() 6024 if (cmd->hdr.prot_version == QETH_PROT_IPV4) in qeth_setassparms_cb() 6026 if (cmd->hdr.prot_version == QETH_PROT_IPV6) in qeth_setassparms_cb()
|
| H A D | qeth_l3_main.c | 1329 QETH_CARD_TEXT_(card, 4, "%i", cmd->hdr.prot_version); in qeth_l3_arp_query_cb() 1354 if (!arpentry_matches_prot(etype, cmd->hdr.prot_version)) { in qeth_l3_arp_query_cb()
|