Lines Matching refs:ipc_hdr
107 ipc_msg_hdr ipc_hdr; member
913 int result = read_all(sdRef->sockfd, (void *)&cbh.ipc_hdr, sizeof(cbh.ipc_hdr)); in DNSServiceProcessResult()
944 ConvertHeaderBytes(&cbh.ipc_hdr); in DNSServiceProcessResult()
945 if (cbh.ipc_hdr.version != VERSION) in DNSServiceProcessResult()
947 …ceProcessResult daemon version %d does not match client version %d", cbh.ipc_hdr.version, VERSION); in DNSServiceProcessResult()
952 data = malloc(cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
954 …if (read_all(sdRef->sockfd, data, cbh.ipc_hdr.datalen) < 0) // On error, read_all will write a mes… in DNSServiceProcessResult()
978 cbh.cb_flags = get_flags (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
979 cbh.cb_interface = get_uint32 (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
980 cbh.cb_err = get_error_code(&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
991 if (ptr) sdRef->ProcessReply(sdRef, &cbh, ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
1570 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse()
1574 if (cbh->ipc_hdr.op != reg_record_reply_op) in ConnectionResponse()
1580 …while (op && (op->uid.u32[0] != cbh->ipc_hdr.client_context.u32[0] || op->uid.u32[1] != cbh->ipc_h… in ConnectionResponse()