Lines Matching refs:attributes

119 #define IS_PRIVATE(d)	(((d)->attributes & DNS_DISPATCHATTR_PRIVATE) != 0)
224 unsigned int attributes;
311 unsigned int attributes,
966 ev->attributes = 0;
1099 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0) {
1271 rev->attributes = ev->attributes;
1502 if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) != 0)
1511 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0 &&
2243 unsigned int attributes, unsigned int mask,
2252 attributes &= ~(DNS_DISPATCHATTR_PRIVATE|DNS_DISPATCHATTR_EXCLUSIVE);
2259 && ATTRMATCH(disp->attributes, attributes, mask)
2386 disp->attributes = 0;
2497 unsigned int attributes, dns_dispatch_t **dispp)
2500 attributes |= DNS_DISPATCHATTR_PRIVATE; /* XXXMLG */
2504 buckets, increment, attributes,
2514 unsigned int attributes, dns_dispatch_t **dispp)
2524 REQUIRE((attributes & DNS_DISPATCHATTR_TCP) != 0);
2525 REQUIRE((attributes & DNS_DISPATCHATTR_UDP) == 0);
2528 attributes |= DNS_DISPATCHATTR_PRIVATE; /* XXXMLG */
2573 disp->attributes = attributes;
2627 unsigned int attributes, mask;
2634 attributes = DNS_DISPATCHATTR_TCP | DNS_DISPATCHATTR_CONNECTED;
2643 ATTRMATCH(disp->attributes, attributes, mask) &&
2677 unsigned int attributes, mask;
2686 attributes = DNS_DISPATCHATTR_TCP | DNS_DISPATCHATTR_CONNECTED;
2695 ATTRMATCH(disp->attributes, attributes, mask) &&
2723 attributes = DNS_DISPATCHATTR_TCP;
2729 ATTRMATCH(disp->attributes, attributes, mask) &&
2751 unsigned int attributes, unsigned int mask,
2766 REQUIRE((attributes & DNS_DISPATCHATTR_TCP) == 0);
2775 if ((attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0) {
2784 result = dispatch_find(mgr, localaddr, attributes, mask, &disp);
2791 if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) == 0
2792 && (attributes & DNS_DISPATCHATTR_NOLISTEN) != 0)
2794 disp->attributes |= DNS_DISPATCHATTR_NOLISTEN;
2815 maxrequests, attributes, &disp,
2837 unsigned int attributes, unsigned int mask,
2842 buckets, increment, attributes,
2965 unsigned int attributes,
2984 if ((attributes & DNS_DISPATCHATTR_EXCLUSIVE) == 0) {
3036 if ((attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0)
3080 attributes &= ~DNS_DISPATCHATTR_TCP;
3081 attributes |= DNS_DISPATCHATTR_UDP;
3082 disp->attributes = attributes;
3204 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0)
3219 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0 &&
3260 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0) {
3292 if ((disp->attributes & DNS_DISPATCHATTR_FIXEDID) != 0)
3342 if (((disp->attributes & DNS_DISPATCHATTR_UDP) != 0) ||
3343 ((disp->attributes & DNS_DISPATCHATTR_CONNECTED) != 0)) {
3375 if ((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) != 0)
3387 REQUIRE((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) == 0);
3401 if ((disp->attributes & DNS_DISPATCHATTR_CONNECTED) == 0) {
3402 disp->attributes |= DNS_DISPATCHATTR_CONNECTED;
3674 return (disp->attributes);
3679 unsigned int attributes, unsigned int mask)
3683 REQUIRE((attributes & DNS_DISPATCHATTR_EXCLUSIVE) == 0);
3685 REQUIRE((disp->attributes & DNS_DISPATCHATTR_EXCLUSIVE) == 0 ||
3686 (attributes & DNS_DISPATCHATTR_NOLISTEN) == 0);
3689 * Should check for valid attributes here!
3695 if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) != 0 &&
3696 (attributes & DNS_DISPATCHATTR_NOLISTEN) == 0) {
3697 disp->attributes &= ~DNS_DISPATCHATTR_NOLISTEN;
3699 } else if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN)
3701 (attributes & DNS_DISPATCHATTR_NOLISTEN) != 0) {
3702 disp->attributes |= DNS_DISPATCHATTR_NOLISTEN;
3709 disp->attributes &= ~mask;
3710 disp->attributes |= (attributes & mask);
3722 if ((disp->attributes & DNS_DISPATCHATTR_NOLISTEN) == 0)
3748 newsevent->attributes = sevent->attributes;
3782 REQUIRE((source->attributes & DNS_DISPATCHATTR_UDP) != 0);
3815 source->attributes,