Lines Matching defs:mflags
136 printf("%s/%s: hits %u ippeerlimit %hd mflags %s rflags %s",
138 mflags_str(res->mflags),
198 * the same address and mask but differing match flags (mflags).
210 * have no RESM_ bits set, so the sort order for mflags is first
343 && ( !(RESM_NTPONLY & res->mflags)
371 && ( !(RESM_NTPONLY & res->mflags)
384 * Exact match is addr, mask, and mflags all equal.
386 * requires the caller to populate a restrict_u with mflags and either
409 if (res->mflags == pmatch->mflags &&
419 * mflags_sorts_before - common mflags sorting code
445 * address, then descending mask, then an intricate mflags sort
465 r1_before_r2 = mflags_sorts_before(r1->mflags, r2->mflags);
476 * address, then descending mask, then an intricate mflags sort
500 r1_before_r2 = mflags_sorts_before(r1->mflags,
501 r2->mflags);
608 u_short mflags,
627 printf(" mflags %s rflags %s", mflags_str(mflags),
641 DEBUG_REQUIRE(RESM_SOURCE & mflags);
643 restrict_source_mflags = mflags;
675 match.mflags = mflags;
749 || !(RESM_INTERFACE & res->mflags))
922 u_short mflags
931 if (mflags & RESM_NTPONLY) {
932 CLEAR_BIT_IF_DEBUG(RESM_NTPONLY, mflags);
936 if (mflags & RESM_SOURCE) {
937 CLEAR_BIT_IF_DEBUG(RESM_SOURCE, mflags);
941 if (mflags & RESM_INTERFACE) {
942 CLEAR_BIT_IF_DEBUG(RESM_INTERFACE, mflags);
946 DEBUG_INVARIANT(!mflags);