Lines Matching defs:queue_opts
337 static struct queue_opts {
349 } queue_opts;
493 struct queue_opts queue_opts;
583 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1845 altqif : ALTQ interface queue_opts QUEUE qassign {
1869 queuespec : QUEUE STRING interface queue_opts qassign {
1906 queue_opts : {
1907 bzero(&queue_opts, sizeof queue_opts);
1908 queue_opts.priority = DEFAULT_PRIORITY;
1909 queue_opts.qlimit = DEFAULT_QLIMIT;
1910 queue_opts.scheduler.qtype = ALTQT_NONE;
1911 queue_opts.queue_bwspec.bw_percent = 100;
1914 { $$ = queue_opts; }
1916 bzero(&queue_opts, sizeof queue_opts);
1917 queue_opts.priority = DEFAULT_PRIORITY;
1918 queue_opts.qlimit = DEFAULT_QLIMIT;
1919 queue_opts.scheduler.qtype = ALTQT_NONE;
1920 queue_opts.queue_bwspec.bw_percent = 100;
1921 $$ = queue_opts;
1930 if (queue_opts.marker & QOM_BWSPEC) {
1934 queue_opts.marker |= QOM_BWSPEC;
1935 queue_opts.queue_bwspec = $2;
1938 if (queue_opts.marker & QOM_PRIORITY) {
1946 queue_opts.marker |= QOM_PRIORITY;
1947 queue_opts.priority = $2;
1950 if (queue_opts.marker & QOM_QLIMIT) {
1958 queue_opts.marker |= QOM_QLIMIT;
1959 queue_opts.qlimit = $2;
1962 if (queue_opts.marker & QOM_SCHEDULER) {
1966 queue_opts.marker |= QOM_SCHEDULER;
1967 queue_opts.scheduler = $1;
1970 if (queue_opts.marker & QOM_TBRSIZE) {
1978 queue_opts.marker |= QOM_TBRSIZE;
1979 queue_opts.tbrsize = $2;