Home
last modified time | relevance | path

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

/linux-4.1.27/net/bridge/
Dbr_stp_if.c144 br->stp_enabled = BR_USER_STP; in br_stp_start()
147 br->stp_enabled = BR_KERNEL_STP; in br_stp_start()
163 if (br->stp_enabled == BR_USER_STP) { in br_stp_stop()
173 br->stp_enabled = BR_NO_STP; in br_stp_stop()
181 if (br->stp_enabled == BR_NO_STP) in br_stp_set_enabled()
184 if (br->stp_enabled != BR_NO_STP) in br_stp_set_enabled()
Dbr_stp_bpdu.c81 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_config_bpdu()
126 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_tcn_bpdu()
164 if (br->stp_enabled != BR_KERNEL_STP) in br_stp_rcv()
Dbr_stp.c337 if (br->stp_enabled != BR_KERNEL_STP) in br_topology_change_detection()
418 if (br->stp_enabled == BR_NO_STP || br->forward_delay == 0) { in br_make_forwarding()
422 } else if (br->stp_enabled == BR_KERNEL_STP) in br_make_forwarding()
446 if (br->stp_enabled != BR_USER_STP) { in br_port_state_selection()
572 if (br->stp_enabled != BR_NO_STP && in br_set_forward_delay()
Dbr_netlink.c520 if (p->br->stp_enabled == BR_KERNEL_STP) in br_set_port_state()
787 u32 stp_enabled = nla_get_u32(data[IFLA_BR_STP_STATE]); in br_changelink() local
789 br_stp_set_enabled(br, stp_enabled); in br_changelink()
819 u32 stp_enabled = br->stp_enabled; in br_fill_info() local
826 nla_put_u32(skb, IFLA_BR_STP_STATE, stp_enabled) || in br_fill_info()
Dbr_ioctl.c144 b.stp_enabled = (br->stp_enabled != BR_NO_STP); in old_dev_ioctl()
Dbr_input.c265 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.h245 } stp_enabled; member
Dbr_sysfs_br.c121 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show()
/linux-4.1.27/include/uapi/linux/
Dif_bridge.h67 __u8 stp_enabled; member