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() 302 bool on = !!(bm->optval & BIT(opt_id)); in br_boolopt_multi_toggle() local 304 err = br_boolopt_toggle(br, opt_id, on, extack); in br_boolopt_multi_toggle() 307 opt_id, br_boolopt_get(br, opt_id), on, err); in br_boolopt_multi_toggle() 329 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle() argument 334 opt, cur, on); in br_opt_toggle() 336 if (cur == on) in br_opt_toggle() 339 if (on) in br_opt_toggle()
|