Home
last modified time | relevance | path

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

/linux-4.4.14/net/bridge/
Dbr_stp_if.c63 if (br->stp_enabled == BR_KERNEL_STP) in br_stp_enable_bridge()
158 br->stp_enabled = BR_USER_STP; in br_stp_start()
165 br->stp_enabled = BR_KERNEL_STP; in br_stp_start()
182 if (br->stp_enabled == BR_USER_STP) { in br_stp_stop()
196 br->stp_enabled = BR_NO_STP; in br_stp_stop()
204 if (br->stp_enabled == BR_NO_STP) in br_stp_set_enabled()
207 if (br->stp_enabled != BR_NO_STP) in br_stp_set_enabled()
Dbr_stp.c213 if (p->br->stp_enabled == BR_KERNEL_STP) in br_transmit_config()
343 if (br->stp_enabled != BR_KERNEL_STP) in br_topology_change_detection()
424 if (br->stp_enabled == BR_NO_STP || br->forward_delay == 0) { in br_make_forwarding()
428 } else if (br->stp_enabled == BR_KERNEL_STP) in br_make_forwarding()
451 if (br->stp_enabled != BR_USER_STP) { in br_port_state_selection()
611 if (br->stp_enabled != BR_NO_STP && in br_set_forward_delay()
Dbr_stp_bpdu.c87 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_config_bpdu()
132 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_tcn_bpdu()
170 if (br->stp_enabled != BR_KERNEL_STP) in br_stp_rcv()
Dbr_netlink.c590 if (p->br->stp_enabled == BR_KERNEL_STP) in br_set_port_state()
887 u32 stp_enabled = nla_get_u32(data[IFLA_BR_STP_STATE]); in br_changelink() local
889 br_stp_set_enabled(br, stp_enabled); in br_changelink()
1127 u32 stp_enabled = br->stp_enabled; in br_fill_info() local
1149 nla_put_u32(skb, IFLA_BR_STP_STATE, stp_enabled) || in br_fill_info()
Dbr_ioctl.c145 b.stp_enabled = (br->stp_enabled != BR_NO_STP); in old_dev_ioctl()
Dbr_stp_timer.c43 if (br->stp_enabled != BR_USER_STP) in br_hello_timer_expired()
Dbr_input.c271 if (p->br->stp_enabled == BR_NO_STP || in br_handle_frame()
Dbr_device.c394 br->stp_enabled = BR_NO_STP; in br_dev_setup()
Dbr_private.h293 } stp_enabled; member
Dbr_sysfs_br.c128 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
/linux-4.4.14/include/uapi/linux/
Dif_bridge.h67 __u8 stp_enabled; member