Lines Matching defs:primary

136 // When using kDNSServiceFlagsShareConnection, there is one primary _DNSServiceOp_t, and zero or more subordinates
137 // For the primary, the 'next' field points to the first subordinate, and its 'next' field points to the next, and so on.
138 // For the primary, the 'primary' field is NULL; for subordinates the 'primary' field points back to the associated primary
145 DNSServiceOp *primary; // For shared connection
338 * non-zero for calls that can't receive an immediate error return value on their primary
418 x->primary = NULL;
467 if (!DNSServiceRefValid(*ref) || ((*ref)->op != connection_request && (*ref)->op != connection_delegate_request) || (*ref)->primary)
496 sdr->primary = NULL;
517 DNSServiceOp **p = &(*ref)->next; // Append ourselves to end of primary's list
524 sdr->primary = *ref; // Set our primary pointer
525 sdr->sockfd = (*ref)->sockfd; // Inherit primary's socket
630 const int MakeSeparateReturnSocket = (sdr->primary ||
884 if (sdRef->primary)
977 if (sdRef->primary)
1110 if (sdRef->primary) // If this is a subordinate DNSServiceOp, just send a 'stop' command
1112 DNSServiceOp **p = &sdRef->primary->next;
1326 hdr = create_hdr(resolve_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
1390 hdr = create_hdr(query_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
1499 hdr = create_hdr(addrinfo_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
1551 hdr = create_hdr(browse_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
1638 hdr = create_hdr(reg_service_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
1691 hdr = create_hdr(enumeration_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);
2174 hdr = create_hdr(port_mapping_request, &len, &ptr, (*sdRef)->primary ? 1 : 0, *sdRef);