Lines Matching defs:queue_opts
321 struct queue_opts {
336 } queue_opts;
375 int expand_queue(char *, struct node_if *, struct queue_opts *);
452 struct queue_opts queue_opts;
530 %type <v.queue_opts> queue_opts queue_opt queue_opts_l optscs
1359 queuespec : QUEUE STRING interface queue_opts {
1377 queue_opts : {
1378 bzero(&queue_opts, sizeof queue_opts);
1381 { $$ = queue_opts; }
1389 if (queue_opts.marker & QOM_BWSPEC) {
1393 queue_opts.marker |= QOM_BWSPEC;
1394 queue_opts.linkshare = $2;
1395 queue_opts.realtime= $3.realtime;
1396 queue_opts.upperlimit = $3.upperlimit;
1399 if (queue_opts.marker & QOM_PARENT) {
1403 queue_opts.marker |= QOM_PARENT;
1404 queue_opts.parent = $2;
1407 if (queue_opts.marker & QOM_DEFAULT) {
1411 queue_opts.marker |= QOM_DEFAULT;
1412 queue_opts.flags |= PFQS_DEFAULT;
1415 if (queue_opts.marker & QOM_QLIMIT) {
1423 queue_opts.marker |= QOM_QLIMIT;
1424 queue_opts.qlimit = $2;
1427 if (queue_opts.marker & QOM_FLOWS) {
1436 queue_opts.marker |= QOM_FLOWS;
1437 queue_opts.flags |= PFQS_FLOWQUEUE;
1438 queue_opts.flowqueue.flows = $2;
1441 if (queue_opts.marker & QOM_QUANTUM) {
1449 queue_opts.marker |= QOM_QUANTUM;
1450 queue_opts.flowqueue.quantum = $2;
4278 expand_queue(char *qname, struct node_if *interfaces, struct queue_opts *opts)