Lines Matching refs:msti
25 int br_mst_get_info(const struct net_device *dev, u16 msti, unsigned long *vids) in br_mst_get_info() argument
43 if (v->msti == msti) in br_mst_get_info()
51 int br_mst_get_state(const struct net_device *dev, u16 msti, u8 *state) in br_mst_get_state() argument
66 if (v->brvlan->msti == msti) { in br_mst_get_state()
90 int br_mst_set_state(struct net_bridge_port *p, u16 msti, u8 state, in br_mst_set_state() argument
97 .msti = msti, in br_mst_set_state()
112 if (msti) { in br_mst_set_state()
119 if (v->brvlan->msti != msti) in br_mst_set_state()
128 static void br_mst_vlan_sync_state(struct net_bridge_vlan *pv, u16 msti) in br_mst_vlan_sync_state() argument
138 if (v != pv && v->brvlan->msti == msti) { in br_mst_vlan_sync_state()
148 int br_mst_vlan_set_msti(struct net_bridge_vlan *mv, u16 msti) in br_mst_vlan_set_msti() argument
155 .msti = msti, in br_mst_vlan_set_msti()
163 if (mv->msti == msti) in br_mst_vlan_set_msti()
170 mv->msti = msti; in br_mst_vlan_set_msti()
177 br_mst_vlan_sync_state(pv, msti); in br_mst_vlan_set_msti()
186 v->msti = 0; in br_mst_vlan_init_state()
243 if (test_bit(v->brvlan->msti, seen)) in br_mst_info_size()
253 __set_bit(v->brvlan->msti, seen); in br_mst_info_size()
268 if (test_bit(v->brvlan->msti, seen)) in br_mst_fill_info()
273 nla_put_u16(skb, IFLA_BRIDGE_MST_ENTRY_MSTI, v->brvlan->msti) || in br_mst_fill_info()
280 __set_bit(v->brvlan->msti, seen); in br_mst_fill_info()
300 u16 msti; in br_mst_process_one() local
319 msti = nla_get_u16(tb[IFLA_BRIDGE_MST_ENTRY_MSTI]); in br_mst_process_one()
322 return br_mst_set_state(p, msti, state, extack); in br_mst_process_one()