D | br.c | 256 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, in br_boolopt_toggle() argument 263 br_opt_toggle(br, BROPT_NO_LL_LEARN, on); in br_boolopt_toggle() 266 err = br_multicast_toggle_vlan_snooping(br, on, extack); in br_boolopt_toggle() 269 err = br_mst_set_enabled(br, on, extack); in br_boolopt_toggle() 307 bool on = !!(bm->optval & BIT(opt_id)); in br_boolopt_multi_toggle() local 309 err = br_boolopt_toggle(br, opt_id, on, extack); in br_boolopt_multi_toggle() 312 opt_id, br_boolopt_get(br, opt_id), on, err); in br_boolopt_multi_toggle() 334 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle() argument 339 opt, cur, on); in br_opt_toggle() 341 if (cur == on) in br_opt_toggle() [all …]
|