Lines Matching refs:mDNSu32
98 mDNSu32 key;
137 mDNSu32 uid;
144 mDNSu32 hdr_bytes; // bytes of header already read
146 mDNSu32 data_bytes; // bytes of message data already read
190 mDNSu32 flags;
191 mDNSu32 protocol;
231 mDNSu32 ifi; // Note: This field is in NETWORK byte order
238 mDNSu32 totallen;
239 mDNSu32 nwriten;
294 mDNSlocal mDNSu32 dnssd_htonl(mDNSu32 l) in dnssd_htonl()
296 mDNSu32 ret; in dnssd_htonl()
372 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()
376 reply->mhdr->datalen = (mDNSu32)datalen; in create_reply()
421 len += sizeof(mDNSu32); // if index in GenerateNTDResponse()
464 len += sizeof(mDNSu32); // if index in GenerateBonjourBrowserResponse()
489 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in read_rr_from_ipc_msg()
496 mDNSu32 ttl = GetTTL ? get_uint32(&request->msgptr, request->msgend) : 0; in read_rr_from_ipc_msg()
901 int len = sizeof(DNSServiceFlags) + sizeof(mDNSu32) + sizeof(DNSServiceErrorType); in regrecord_callback()
1091 …request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl) in add_record_to_service()
1126 mDNSu32 ttl = get_uint32(&request->msgptr, request->msgend); in handle_add_request()
1183 mDNSlocal mStatus update_record(AuthRecord *rr, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl, cons… in update_record()
1215 mDNSu32 ttl = get_uint32(&request->msgptr, request->msgend); in handle_update_request()
1445 mDNSu32 regFlags = 0; in register_service_instance()
1600 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_regservice_request()
1954 mDNSlocal void AddAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) in AddAutoBrowseDomain()
1965 mDNSlocal void RmvAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) in RmvAutoBrowseDomain()
2157 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_browse_request()
2255 len += sizeof(mDNSu32); // interface index in resolve_result_callback()
2298 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_resolve_request()
2805 len += sizeof(mDNSu32); // interface index in queryrecord_result_callback()
2810 len += sizeof(mDNSu32); // TTL in queryrecord_result_callback()
2976 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_queryrecord_request()
3064 const char *domain, DNSServiceFlags flags, mDNSu32 ifi, DNSServiceErrorType err) in format_enumeration_reply()
3071 len += sizeof(mDNSu32); in format_enumeration_reply()
3134 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_enum_request()
3213 mDNSu32 len;
3214 mDNSu32 vers;
3219 const mStatus BadParamErr = dnssd_htonl((mDNSu32)mStatus_BadParamErr); in handle_getproperty_request()
3264 replyLen += 3 * sizeof(mDNSu32); // if index + addr + ttl in port_mapping_create_request_callback()
3298 mDNSu32 ttl = 0; in handle_port_mapping_request()
3302 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_port_mapping_request()
3418 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_addrinfo_request()
3571 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg()
3605 mDNSu32 nleft = req->hdr.datalen - req->data_bytes; in read_msg()
3775 …case reg_service_request: min_size += sizeof(mDNSu32) + 4 /* name, type, domain, host */ + 4 … in request_callback()
3779 …case browse_request: min_size += sizeof(mDNSu32) + 2 /* type, domain */; … in request_callback()
3780 …case resolve_request: min_size += sizeof(mDNSu32) + 3 /* type, type, domain */; … in request_callback()
3781 …case query_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 4 … in request_callback()
3782 …case enumeration_request: min_size += sizeof(mDNSu32); … in request_callback()
3783 …case reg_record_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 6 /* type, class, rdle… in request_callback()
3784 …case reconfirm_record_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 6 /* type, class, rdle… in request_callback()
3787 …case port_mapping_request: min_size += sizeof(mDNSu32) + 4 /* udp/tcp */ + 4 /* int/ext port *… in request_callback()
3788 …case addrinfo_request: min_size += sizeof(mDNSu32) + 4 /* v4/v6 */ + 1 /* hostname */; … in request_callback()
3791 …case sethost_request: min_size = sizeof(mDNSu32) + 1 /* hostname */; … in request_callback()
3974 mDNSexport int udsserver_init(dnssd_sock_t skts[], mDNSu32 count) in udsserver_init()
3978 mDNSu32 i = 0; in udsserver_init()
4210 mDNSu32 slot; in LogEtcHosts()
4233 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; in LogEtcHosts()
4249 mDNSu32 slot; in LogLocalOnlyAuthRecords()
4320 mDNSu32 CacheUsed = 0, CacheActive = 0, slot; in udsserver_info()
4328 LogMsgNoIdent("Timenow 0x%08lX (%d)", (mDNSu32)now, now); in udsserver_info()