Lines Matching defs:opt
258 * @opt: id of the option to change
265 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
270 switch (opt) {
289 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt)
291 switch (opt) {
343 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on)
345 bool cur = !!br_opt_get(br, opt);
348 opt, cur, on);
354 set_bit(opt, &br->options);
356 clear_bit(opt, &br->options);