Lines Matching refs:queue_opts
304 static struct queue_opts { struct
316 } queue_opts; argument
477 struct queue_opts queue_opts; member
567 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1832 altqif : ALTQ interface queue_opts QUEUE qassign {
1856 queuespec : QUEUE STRING interface queue_opts qassign {
1893 queue_opts : {
1894 bzero(&queue_opts, sizeof queue_opts);
1895 queue_opts.priority = DEFAULT_PRIORITY;
1896 queue_opts.qlimit = DEFAULT_QLIMIT;
1897 queue_opts.scheduler.qtype = ALTQT_NONE;
1898 queue_opts.queue_bwspec.bw_percent = 100;
1901 { $$ = queue_opts; }
1903 bzero(&queue_opts, sizeof queue_opts);
1904 queue_opts.priority = DEFAULT_PRIORITY;
1905 queue_opts.qlimit = DEFAULT_QLIMIT;
1906 queue_opts.scheduler.qtype = ALTQT_NONE;
1907 queue_opts.queue_bwspec.bw_percent = 100;
1908 $$ = queue_opts;
1917 if (queue_opts.marker & QOM_BWSPEC) {
1921 queue_opts.marker |= QOM_BWSPEC;
1922 queue_opts.queue_bwspec = $2;
1925 if (queue_opts.marker & QOM_PRIORITY) {
1933 queue_opts.marker |= QOM_PRIORITY;
1934 queue_opts.priority = $2;
1937 if (queue_opts.marker & QOM_QLIMIT) {
1945 queue_opts.marker |= QOM_QLIMIT;
1946 queue_opts.qlimit = $2;
1949 if (queue_opts.marker & QOM_SCHEDULER) {
1953 queue_opts.marker |= QOM_SCHEDULER;
1954 queue_opts.scheduler = $1;
1957 if (queue_opts.marker & QOM_TBRSIZE) {
1965 queue_opts.marker |= QOM_TBRSIZE;
1966 queue_opts.tbrsize = $2;