Lines Matching refs:queue_opts
344 static struct queue_opts { struct
356 } queue_opts; argument
505 struct queue_opts queue_opts; member
597 %type <v.queue_opts> queue_opts queue_opt queue_opts_l
1834 altqif : ALTQ interface queue_opts QUEUE qassign {
1858 queuespec : QUEUE STRING interface queue_opts qassign {
1895 queue_opts : {
1896 bzero(&queue_opts, sizeof queue_opts);
1897 queue_opts.priority = DEFAULT_PRIORITY;
1898 queue_opts.qlimit = DEFAULT_QLIMIT;
1899 queue_opts.scheduler.qtype = ALTQT_NONE;
1900 queue_opts.queue_bwspec.bw_percent = 100;
1903 { $$ = queue_opts; }
1905 bzero(&queue_opts, sizeof queue_opts);
1906 queue_opts.priority = DEFAULT_PRIORITY;
1907 queue_opts.qlimit = DEFAULT_QLIMIT;
1908 queue_opts.scheduler.qtype = ALTQT_NONE;
1909 queue_opts.queue_bwspec.bw_percent = 100;
1910 $$ = queue_opts;
1919 if (queue_opts.marker & QOM_BWSPEC) {
1923 queue_opts.marker |= QOM_BWSPEC;
1924 queue_opts.queue_bwspec = $2;
1927 if (queue_opts.marker & QOM_PRIORITY) {
1935 queue_opts.marker |= QOM_PRIORITY;
1936 queue_opts.priority = $2;
1939 if (queue_opts.marker & QOM_QLIMIT) {
1947 queue_opts.marker |= QOM_QLIMIT;
1948 queue_opts.qlimit = $2;
1951 if (queue_opts.marker & QOM_SCHEDULER) {
1955 queue_opts.marker |= QOM_SCHEDULER;
1956 queue_opts.scheduler = $1;
1959 if (queue_opts.marker & QOM_TBRSIZE) {
1967 queue_opts.marker |= QOM_TBRSIZE;
1968 queue_opts.tbrsize = $2;