Home
last modified time | relevance | path

Searched refs:stp_enabled (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/net/bridge/
Dbr_stp_if.c54 if (br->stp_enabled == BR_KERNEL_STP) in br_stp_enable_bridge()
166 br->stp_enabled = BR_USER_STP; in br_stp_start()
169 br->stp_enabled = BR_KERNEL_STP; in br_stp_start()
185 if (br->stp_enabled == BR_USER_STP) { in br_stp_stop()
196 br->stp_enabled = BR_NO_STP; in br_stp_stop()
211 if (br->stp_enabled == BR_NO_STP) in br_stp_set_enabled()
214 if (br->stp_enabled != BR_NO_STP) in br_stp_set_enabled()
Dbr_stp.c61 if (p->br->stp_enabled == BR_KERNEL_STP) { in br_set_state()
244 if (p->br->stp_enabled == BR_KERNEL_STP) in br_transmit_config()
374 if (br->stp_enabled != BR_KERNEL_STP) in br_topology_change_detection()
454 if (br->stp_enabled == BR_NO_STP || br->forward_delay == 0) { in br_make_forwarding()
458 } else if (br->stp_enabled == BR_KERNEL_STP) in br_make_forwarding()
480 if (br->stp_enabled != BR_USER_STP) { in br_port_state_selection()
667 if (br->stp_enabled == BR_KERNEL_STP && br->topology_change != val) { in __br_set_topology_change()
703 if (br->stp_enabled != BR_NO_STP && in br_set_forward_delay()
Dbr_stp_bpdu.c83 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_config_bpdu()
130 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_tcn_bpdu()
169 if (br->stp_enabled != BR_KERNEL_STP) in br_stp_rcv()
Dbr_ioctl.c181 b.stp_enabled = (br->stp_enabled != BR_NO_STP); in br_dev_siocdevprivate()
Dbr_stp_timer.c39 if (br->stp_enabled == BR_KERNEL_STP) in br_hello_timer_expired()
Dbr_netlink.c890 if (p->br->stp_enabled == BR_KERNEL_STP) in br_set_port_state()
1251 u32 stp_enabled = nla_get_u32(data[IFLA_BR_STP_STATE]); in br_changelink() local
1253 err = br_stp_set_enabled(br, stp_enabled, extack); in br_changelink()
1578 u32 stp_enabled = br->stp_enabled; in br_fill_info() local
1603 nla_put_u32(skb, IFLA_BR_STP_STATE, stp_enabled) || in br_fill_info()
Dbr_input.c346 if (p->br->stp_enabled == BR_NO_STP || in br_handle_frame()
Dbr_device.c519 br->stp_enabled = BR_NO_STP; in br_dev_setup()
Dbr_mrp_netlink.c368 if (br->stp_enabled != BR_NO_STP) { in br_mrp_parse()
Dbr_vlan_options.c97 if (br->stp_enabled == BR_KERNEL_STP) { in br_vlan_modify_state()
Dbr_sysfs_br.c153 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
Dbr_private.h507 } stp_enabled; member
/linux-6.1.9/include/uapi/linux/
Dif_bridge.h68 __u8 stp_enabled; member