Lines Matching defs:state
51 int br_mst_get_state(const struct net_device *dev, u16 msti, u8 *state)
67 *state = v->state;
77 u8 state)
81 if (v->state == state)
84 br_vlan_set_state(v, state);
87 br_vlan_set_pvid_state(vg, state);
90 int br_mst_set_state(struct net_bridge_port *p, u16 msti, u8 state,
98 .state = state,
109 /* MSTI 0 (CST) state changes are notified via the regular
122 br_mst_vlan_set_state(p, v, state);
134 /* If this port already has a defined state in this
139 br_mst_vlan_set_state(pv->port, pv, v->state);
189 v->state = BR_STATE_FORWARDING;
191 v->state = v->port->state;
274 nla_put_u8(skb, IFLA_BRIDGE_MST_ENTRY_STATE, v->state)) {
301 u8 state;
320 state = nla_get_u8(tb[IFLA_BRIDGE_MST_ENTRY_STATE]);
322 return br_mst_set_state(p, msti, state, extack);
333 NL_SET_ERR_MSG_MOD(extack, "Can't modify MST state when MST is disabled");