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()
1599 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_regservice_request()
1948 mDNSlocal void AddAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) in AddAutoBrowseDomain()
1959 mDNSlocal void RmvAutoBrowseDomain(const mDNSu32 uid, const domainname *const name) in RmvAutoBrowseDomain()
2151 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_browse_request()
2249 len += sizeof(mDNSu32); // interface index in resolve_result_callback()
2292 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_resolve_request()
2799 len += sizeof(mDNSu32); // interface index in queryrecord_result_callback()
2804 len += sizeof(mDNSu32); // TTL in queryrecord_result_callback()
2970 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_queryrecord_request()
3058 const char *domain, DNSServiceFlags flags, mDNSu32 ifi, DNSServiceErrorType err) in format_enumeration_reply()
3065 len += sizeof(mDNSu32); in format_enumeration_reply()
3128 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_enum_request()
3207 mDNSu32 len;
3208 mDNSu32 vers;
3213 const mStatus BadParamErr = dnssd_htonl((mDNSu32)mStatus_BadParamErr); in handle_getproperty_request()
3258 replyLen += 3 * sizeof(mDNSu32); // if index + addr + ttl in port_mapping_create_request_callback()
3292 mDNSu32 ttl = 0; in handle_port_mapping_request()
3296 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_port_mapping_request()
3412 mDNSu32 interfaceIndex = get_uint32(&request->msgptr, request->msgend); in handle_addrinfo_request()
3565 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg()
3599 mDNSu32 nleft = req->hdr.datalen - req->data_bytes; in read_msg()
3769 …case reg_service_request: min_size += sizeof(mDNSu32) + 4 /* name, type, domain, host */ + 4 … in request_callback()
3773 …case browse_request: min_size += sizeof(mDNSu32) + 2 /* type, domain */; … in request_callback()
3774 …case resolve_request: min_size += sizeof(mDNSu32) + 3 /* type, type, domain */; … in request_callback()
3775 …case query_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 4 … in request_callback()
3776 …case enumeration_request: min_size += sizeof(mDNSu32); … in request_callback()
3777 …case reg_record_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 6 /* type, class, rdle… in request_callback()
3778 …case reconfirm_record_request: min_size += sizeof(mDNSu32) + 1 /* name */ + 6 /* type, class, rdle… in request_callback()
3781 …case port_mapping_request: min_size += sizeof(mDNSu32) + 4 /* udp/tcp */ + 4 /* int/ext port *… in request_callback()
3782 …case addrinfo_request: min_size += sizeof(mDNSu32) + 4 /* v4/v6 */ + 1 /* hostname */; … in request_callback()
3785 …case sethost_request: min_size = sizeof(mDNSu32) + 1 /* hostname */; … in request_callback()
3968 mDNSexport int udsserver_init(dnssd_sock_t skts[], mDNSu32 count) in udsserver_init()
3972 mDNSu32 i = 0; in udsserver_init()
4204 mDNSu32 slot; in LogEtcHosts()
4227 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; in LogEtcHosts()
4243 mDNSu32 slot; in LogLocalOnlyAuthRecords()
4314 mDNSu32 CacheUsed = 0, CacheActive = 0, slot; in udsserver_info()
4322 LogMsgNoIdent("Timenow 0x%08lX (%d)", (mDNSu32)now, now); in udsserver_info()