Lines Matching defs:flags
258 int flags, u_int32_t qid, struct tcq_class **clp)
272 cl = tcq_class_create(tif, priority, qlimit, flags, qid);
284 int flags, u_int32_t qid)
292 /* Sanitize flags unless internally configured */
294 flags &= TQCF_USERFLAGS;
297 if (flags & TQCF_RED) {
305 if (flags & TQCF_RIO) {
313 if (flags & TQCF_BLUE) {
321 if ((flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) &&
322 (flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) != TQCF_RED &&
323 (flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) != TQCF_RIO &&
324 (flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) != TQCF_BLUE &&
325 (flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) != TQCF_SFB) {
364 if (flags & TQCF_DEFAULTCLASS)
372 cl->cl_flags = flags;
379 if (flags & (TQCF_RED|TQCF_RIO|TQCF_BLUE|TQCF_SFB)) {
386 if (flags & TQCF_ECN) {
387 if (flags & TQCF_BLUE)
389 else if (flags & TQCF_SFB)
391 else if (flags & TQCF_RED)
393 else if (flags & TQCF_RIO)
396 if (flags & TQCF_FLOWCTL) {
397 if (flags & TQCF_SFB)
400 if (flags & TQCF_CLEARDSCP) {
401 if (flags & TQCF_RIO)
417 if (flags & TQCF_RED) {
427 if (flags & TQCF_RIO) {
436 if (flags & TQCF_BLUE) {
442 if (flags & TQCF_SFB) {
453 "flags=%b\n", if_name(ifp), tcq_style(tif),
454 cl->cl_handle, cl->cl_pri, qlimit, flags, TQCF_BITS);
959 tcq_setup_ifclassq(struct ifclassq *ifq, u_int32_t flags)
971 if (flags & PKTSCHEDF_QALG_RED)
973 if (flags & PKTSCHEDF_QALG_RIO)
975 if (flags & PKTSCHEDF_QALG_BLUE)
977 if (flags & PKTSCHEDF_QALG_SFB)
979 if (flags & PKTSCHEDF_QALG_ECN)
981 if (flags & PKTSCHEDF_QALG_FLOWCTL)