Lines Matching refs:sch
1276 struct dn_sch *sch = NULL; in ipfw_config_pipe() local
1336 sch = o_next(&buf, sizeof(*sch), DN_SCH); in ipfw_config_pipe()
1344 sch->sched_nr = i; in ipfw_config_pipe()
1345 sch->oid.subtype = 0; /* defaults to WF2Q+ */ in ipfw_config_pipe()
1346 mask = &sch->sched_mask; in ipfw_config_pipe()
1347 flags = &sch->flags; in ipfw_config_pipe()
1348 buckets = &sch->buckets; in ipfw_config_pipe()
1375 sch = o_next(&buf, sizeof(*sch), DN_SCH); in ipfw_config_pipe()
1381 sch->sched_nr = i; in ipfw_config_pipe()
1382 mask = &sch->sched_mask; in ipfw_config_pipe()
1383 flags = &sch->flags; in ipfw_config_pipe()
1384 buckets = &sch->buckets; in ipfw_config_pipe()
1586 NEED(sch, "fq_codel/fq_pie is only for schd"); in ipfw_config_pipe()
1652 NEED(sch, "type is only for schedulers"); in ipfw_config_pipe()
1657 strlcpy(sch->name, av[0], sizeof(sch->name)); in ipfw_config_pipe()
1658 sch->oid.subtype = 0; /* use string */ in ipfw_config_pipe()