Lines Matching defs:queue_opts
229 struct queue_opts {
241 } queue_opts;
395 struct queue_opts queue_opts;
467 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1293 altqif : ALTQ interface queue_opts QUEUE qassign {
1317 queuespec : QUEUE STRING interface queue_opts qassign {
1354 queue_opts : {
1355 bzero(&queue_opts, sizeof queue_opts);
1356 queue_opts.priority = DEFAULT_PRIORITY;
1357 queue_opts.qlimit = DEFAULT_QLIMIT;
1358 queue_opts.scheduler.qtype = ALTQT_NONE;
1359 queue_opts.queue_bwspec.bw_percent = 100;
1362 { $$ = queue_opts; }
1364 bzero(&queue_opts, sizeof queue_opts);
1365 queue_opts.priority = DEFAULT_PRIORITY;
1366 queue_opts.qlimit = DEFAULT_QLIMIT;
1367 queue_opts.scheduler.qtype = ALTQT_NONE;
1368 queue_opts.queue_bwspec.bw_percent = 100;
1369 $$ = queue_opts;
1378 if (queue_opts.marker & QOM_BWSPEC) {
1382 queue_opts.marker |= QOM_BWSPEC;
1383 queue_opts.queue_bwspec = $2;
1386 if (queue_opts.marker & QOM_PRIORITY) {
1394 queue_opts.marker |= QOM_PRIORITY;
1395 queue_opts.priority = $2;
1398 if (queue_opts.marker & QOM_QLIMIT) {
1406 queue_opts.marker |= QOM_QLIMIT;
1407 queue_opts.qlimit = $2;
1410 if (queue_opts.marker & QOM_SCHEDULER) {
1414 queue_opts.marker |= QOM_SCHEDULER;
1415 queue_opts.scheduler = $1;
1418 if (queue_opts.marker & QOM_TBRSIZE) {
1426 queue_opts.marker |= QOM_TBRSIZE;
1427 queue_opts.tbrsize = $2;