Lines Matching refs:flags
286 int flags, u_int32_t qid, struct priq_class **clp)
300 cl = priq_class_create(pif, priority, qlimit, flags, qid);
312 int flags, u_int32_t qid)
320 /* Sanitize flags unless internally configured */
322 flags &= PRCF_USERFLAGS;
325 if (flags & PRCF_RED) {
333 if (flags & PRCF_RIO) {
341 if (flags & PRCF_BLUE) {
349 if ((flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) &&
350 (flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) != PRCF_RED &&
351 (flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) != PRCF_RIO &&
352 (flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) != PRCF_BLUE &&
353 (flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) != PRCF_SFB) {
392 if (flags & PRCF_DEFAULTCLASS)
400 cl->cl_flags = flags;
407 if (flags & (PRCF_RED|PRCF_RIO|PRCF_BLUE|PRCF_SFB)) {
414 if (flags & PRCF_ECN) {
415 if (flags & PRCF_BLUE)
417 else if (flags & PRCF_SFB)
419 else if (flags & PRCF_RED)
421 else if (flags & PRCF_RIO)
424 if (flags & PRCF_FLOWCTL) {
425 if (flags & PRCF_SFB)
428 if (flags & PRCF_CLEARDSCP) {
429 if (flags & PRCF_RIO)
445 if (flags & PRCF_RED) {
455 if (flags & PRCF_RIO) {
464 if (flags & PRCF_BLUE) {
470 if (flags & PRCF_SFB) {
481 "flags=%b\n", if_name(ifp), priq_style(pif),
482 cl->cl_handle, cl->cl_pri, qlimit, flags, PRCF_BITS);
997 priq_setup_ifclassq(struct ifclassq *ifq, u_int32_t flags)
1010 if (flags & PKTSCHEDF_QALG_RED)
1012 if (flags & PKTSCHEDF_QALG_RIO)
1014 if (flags & PKTSCHEDF_QALG_BLUE)
1016 if (flags & PKTSCHEDF_QALG_SFB)
1018 if (flags & PKTSCHEDF_QALG_ECN)
1020 if (flags & PKTSCHEDF_QALG_FLOWCTL)