Lines Matching refs:ipc_hdr
107 ipc_msg_hdr ipc_hdr; member
920 int result = read_all(sdRef->sockfd, (void *)&cbh.ipc_hdr, sizeof(cbh.ipc_hdr)); in DNSServiceProcessResult()
951 ConvertHeaderBytes(&cbh.ipc_hdr); in DNSServiceProcessResult()
952 if (cbh.ipc_hdr.version != VERSION) in DNSServiceProcessResult()
954 …ceProcessResult daemon version %d does not match client version %d", cbh.ipc_hdr.version, VERSION); in DNSServiceProcessResult()
959 data = malloc(cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
961 …if (read_all(sdRef->sockfd, data, cbh.ipc_hdr.datalen) < 0) // On error, read_all will write a mes… in DNSServiceProcessResult()
985 cbh.cb_flags = get_flags (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
986 cbh.cb_interface = get_uint32 (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
987 cbh.cb_err = get_error_code(&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
998 if (ptr) sdRef->ProcessReply(sdRef, &cbh, ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
1577 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse()
1581 if (cbh->ipc_hdr.op != reg_record_reply_op) in ConnectionResponse()
1587 …while (op && (op->uid.u32[0] != cbh->ipc_hdr.client_context.u32[0] || op->uid.u32[1] != cbh->ipc_h… in ConnectionResponse()