Home
last modified time | relevance | path

Searched refs:HSR_PT_SLAVE_B (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/net/hsr/
H A Dprp_dup_discard_test.c25 data->node.seq_start[HSR_PT_SLAVE_B] = 1; in build_prp_test_data()
26 data->node.seq_expected[HSR_PT_SLAVE_B] = 1; in build_prp_test_data()
71 data->node.seq_expected[HSR_PT_SLAVE_B] = 3; in prp_dup_discard_inside_dropwindow()
90 data->node.seq_start[HSR_PT_SLAVE_B] = 1234; in prp_dup_discard_node_timeout()
112 data->node.seq_start[HSR_PT_SLAVE_B] = 10; in prp_dup_discard_out_of_sequence()
127 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
147 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
163 data->node.seq_start[HSR_PT_SLAVE_B] = 9; in prp_dup_discard_lan_b_late()
164 data->node.seq_expected[HSR_PT_SLAVE_B] = 9; in prp_dup_discard_lan_b_late()
182 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_lan_b_late()
[all …]
H A Dhsr_framereg.c147 if (port == HSR_PT_SLAVE_B) in prp_handle_san_frame()
600 if (node->time_in_stale[HSR_PT_SLAVE_B]) in get_late_port()
601 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
603 if (time_after(node->time_in[HSR_PT_SLAVE_B], in get_late_port()
608 node->time_in[HSR_PT_SLAVE_B] + in get_late_port()
610 return hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in get_late_port()
639 time_b = node->time_in[HSR_PT_SLAVE_B]; in hsr_prune_nodes()
645 node->time_in_stale[HSR_PT_SLAVE_B] = true; in hsr_prune_nodes()
653 (!node->time_in_stale[HSR_PT_SLAVE_B] && in hsr_prune_nodes()
773 if (node->time_in_stale[HSR_PT_SLAVE_B]) in hsr_get_node_data()
[all …]
H A Dhsr_device.c149 case HSR_PT_SLAVE_B: in hsr_dev_open()
180 case HSR_PT_SLAVE_B: in hsr_dev_close()
466 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_del_ports()
491 case HSR_PT_SLAVE_B: in hsr_set_rx_mode()
513 case HSR_PT_SLAVE_B: in hsr_change_rx_flags()
555 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_add_vid()
585 case HSR_PT_SLAVE_B: in hsr_ndo_vlan_rx_kill_vid()
760 res = hsr_add_port(hsr, slave[1], HSR_PT_SLAVE_B, extack); in hsr_dev_finalize()
H A Dhsr_forward.c436 port->type == HSR_PT_SLAVE_B) || in prp_drop_frame()
437 (frame->port_rcv->type == HSR_PT_SLAVE_B && in prp_drop_frame()
470 frame->port_rcv->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
484 if ((port->type == HSR_PT_SLAVE_A || port->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
557 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
573 port->type == HSR_PT_SLAVE_B) in hsr_forward_do()
H A Dhsr_debugfs.c41 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show()
H A Dhsr_main.c84 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify()
H A Dhsr_netlink.c157 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_fill_info()
400 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_get_node_status()
/linux-6.15/include/linux/
H A Dif_hsr.h19 HSR_PT_SLAVE_B, enumerator