Home
last modified time | relevance | path

Searched refs:port_rcv (Results 1 – 4 of 4) sorted by relevance

/linux/net/hsr/
H A Dprp_dup_discard_test.c11 struct hsr_port port_rcv; member
34 data->frame.port_rcv = &data->port_rcv; in build_prp_test_data()
35 data->port_rcv.type = HSR_PT_SLAVE_A; in build_prp_test_data()
140 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
146 data->port_rcv.type = HSR_PT_SLAVE_A; in prp_dup_discard_out_of_sequence()
153 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_out_of_sequence()
174 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_lan_b_late()
179 data->port_rcv.type = HSR_PT_SLAVE_B; in prp_dup_discard_lan_b_late()
H A Dhsr_forward.c423 if (frame->port_rcv->type == HSR_PT_MASTER) { in hsr_xmit()
445 return ((frame->port_rcv->type == HSR_PT_SLAVE_A && in prp_drop_frame()
447 (frame->port_rcv->type == HSR_PT_SLAVE_B && in prp_drop_frame()
479 if ((frame->port_rcv->type == HSR_PT_SLAVE_A || in hsr_drop_frame()
480 frame->port_rcv->type == HSR_PT_SLAVE_B) && in hsr_drop_frame()
495 frame->port_rcv->type == HSR_PT_INTERLINK) { in hsr_drop_frame()
525 hsr_for_each_port(frame->port_rcv->hsr, port) { in hsr_forward_do()
528 if (port == frame->port_rcv) in hsr_forward_do()
573 frame->port_rcv->dev->stats.rx_dropped++; in hsr_forward_do()
611 struct hsr_port *port = frame->port_rcv; in handle_std_frame()
[all …]
H A Dhsr_framereg.c375 struct hsr_port *port_rcv = frame->port_rcv; in hsr_handle_sup_frame() local
377 struct hsr_priv *hsr = port_rcv->hsr; in hsr_handle_sup_frame()
425 node_db = &port_rcv->hsr->node_db; in hsr_handle_sup_frame()
430 true, port_rcv->type); in hsr_handle_sup_frame()
493 node_real->addr_B_port = port_rcv->type; in hsr_handle_sup_frame()
651 if (frame->port_rcv->type == HSR_PT_MASTER) in prp_register_frame_out()
H A Dhsr_framereg.h21 struct hsr_port *port_rcv; member