Home | History | Annotate | Download | only in pfctl

Lines Matching defs:hfsc_opts

261 struct node_hfsc_opts	hfsc_opts;
399 struct node_hfsc_opts hfsc_opts;
463 %type <v.hfsc_opts> hfscopts_list hfscopts_item hfsc_opts
1485 bzero(&$$.data.hfsc_opts,
1488 | HFSC '(' hfsc_opts ')' {
1490 $$.data.hfsc_opts = $3;
1542 hfsc_opts : {
1543 bzero(&hfsc_opts,
1547 $$ = hfsc_opts;
1556 if (hfsc_opts.linkshare.used) {
1560 hfsc_opts.linkshare.m2 = $2;
1561 hfsc_opts.linkshare.used = 1;
1565 if (hfsc_opts.linkshare.used) {
1569 hfsc_opts.linkshare.m1 = $3;
1570 hfsc_opts.linkshare.d = $5;
1571 hfsc_opts.linkshare.m2 = $7;
1572 hfsc_opts.linkshare.used = 1;
1575 if (hfsc_opts.realtime.used) {
1579 hfsc_opts.realtime.m2 = $2;
1580 hfsc_opts.realtime.used = 1;
1584 if (hfsc_opts.realtime.used) {
1588 hfsc_opts.realtime.m1 = $3;
1589 hfsc_opts.realtime.d = $5;
1590 hfsc_opts.realtime.m2 = $7;
1591 hfsc_opts.realtime.used = 1;
1594 if (hfsc_opts.upperlimit.used) {
1598 hfsc_opts.upperlimit.m2 = $2;
1599 hfsc_opts.upperlimit.used = 1;
1603 if (hfsc_opts.upperlimit.used) {
1607 hfsc_opts.upperlimit.m1 = $3;
1608 hfsc_opts.upperlimit.d = $5;
1609 hfsc_opts.upperlimit.m2 = $7;
1610 hfsc_opts.upperlimit.used = 1;
1614 hfsc_opts.flags |= HFCF_DEFAULTCLASS;
1616 hfsc_opts.flags |= HFCF_RED;
1618 hfsc_opts.flags |= HFCF_RED|HFCF_ECN;
1620 hfsc_opts.flags |= HFCF_RIO;