Lines Matching refs:queue_opts
281 static struct queue_opts { struct
293 } queue_opts; argument
434 struct queue_opts queue_opts; member
520 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1499 altqif : ALTQ interface queue_opts QUEUE qassign {
1523 queuespec : QUEUE STRING interface queue_opts qassign {
1560 queue_opts : {
1561 bzero(&queue_opts, sizeof queue_opts);
1562 queue_opts.priority = DEFAULT_PRIORITY;
1563 queue_opts.qlimit = DEFAULT_QLIMIT;
1564 queue_opts.scheduler.qtype = ALTQT_NONE;
1565 queue_opts.queue_bwspec.bw_percent = 100;
1568 { $$ = queue_opts; }
1570 bzero(&queue_opts, sizeof queue_opts);
1571 queue_opts.priority = DEFAULT_PRIORITY;
1572 queue_opts.qlimit = DEFAULT_QLIMIT;
1573 queue_opts.scheduler.qtype = ALTQT_NONE;
1574 queue_opts.queue_bwspec.bw_percent = 100;
1575 $$ = queue_opts;
1584 if (queue_opts.marker & QOM_BWSPEC) {
1588 queue_opts.marker |= QOM_BWSPEC;
1589 queue_opts.queue_bwspec = $2;
1592 if (queue_opts.marker & QOM_PRIORITY) {
1600 queue_opts.marker |= QOM_PRIORITY;
1601 queue_opts.priority = $2;
1604 if (queue_opts.marker & QOM_QLIMIT) {
1612 queue_opts.marker |= QOM_QLIMIT;
1613 queue_opts.qlimit = $2;
1616 if (queue_opts.marker & QOM_SCHEDULER) {
1620 queue_opts.marker |= QOM_SCHEDULER;
1621 queue_opts.scheduler = $1;
1624 if (queue_opts.marker & QOM_TBRSIZE) {
1632 queue_opts.marker |= QOM_TBRSIZE;
1633 queue_opts.tbrsize = $2;