Lines Matching refs:queue_opts
286 static struct queue_opts { struct
298 } queue_opts; argument
439 struct queue_opts queue_opts; member
527 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1576 altqif : ALTQ interface queue_opts QUEUE qassign {
1600 queuespec : QUEUE STRING interface queue_opts qassign {
1637 queue_opts : {
1638 bzero(&queue_opts, sizeof queue_opts);
1639 queue_opts.priority = DEFAULT_PRIORITY;
1640 queue_opts.qlimit = DEFAULT_QLIMIT;
1641 queue_opts.scheduler.qtype = ALTQT_NONE;
1642 queue_opts.queue_bwspec.bw_percent = 100;
1645 { $$ = queue_opts; }
1647 bzero(&queue_opts, sizeof queue_opts);
1648 queue_opts.priority = DEFAULT_PRIORITY;
1649 queue_opts.qlimit = DEFAULT_QLIMIT;
1650 queue_opts.scheduler.qtype = ALTQT_NONE;
1651 queue_opts.queue_bwspec.bw_percent = 100;
1652 $$ = queue_opts;
1661 if (queue_opts.marker & QOM_BWSPEC) {
1665 queue_opts.marker |= QOM_BWSPEC;
1666 queue_opts.queue_bwspec = $2;
1669 if (queue_opts.marker & QOM_PRIORITY) {
1677 queue_opts.marker |= QOM_PRIORITY;
1678 queue_opts.priority = $2;
1681 if (queue_opts.marker & QOM_QLIMIT) {
1689 queue_opts.marker |= QOM_QLIMIT;
1690 queue_opts.qlimit = $2;
1693 if (queue_opts.marker & QOM_SCHEDULER) {
1697 queue_opts.marker |= QOM_SCHEDULER;
1698 queue_opts.scheduler = $1;
1701 if (queue_opts.marker & QOM_TBRSIZE) {
1709 queue_opts.marker |= QOM_TBRSIZE;
1710 queue_opts.tbrsize = $2;