Searched refs:ipc_msg_hdr (Results 1 – 5 of 5) sorted by relevance
127 ipc_msg_hdr ipc_hdr;401 static ipc_msg_hdr *create_hdr(uint32_t op, size_t *len, char **data_start, int SeparateReturnSocke… in create_hdr()404 ipc_msg_hdr *hdr; in create_hdr()427 *len += sizeof(ipc_msg_hdr); in create_hdr()434 hdr = (ipc_msg_hdr *)msg; in create_hdr()441 *data_start = msg + sizeof(ipc_msg_hdr); in create_hdr()698 static DNSServiceErrorType deliver_request(ipc_msg_hdr *hdr, DNSServiceOp *sdr) in deliver_request()717 data = (char *)hdr + sizeof(ipc_msg_hdr); in deliver_request()829 for (i=0; i<datalen + sizeof(ipc_msg_hdr); i++) in deliver_request()842 ioresult = write_all(sdr->sockfd, (char *)hdr, datalen + sizeof(ipc_msg_hdr)); in deliver_request()[all …]
186 } ipc_msg_hdr; typedef223 void ConvertHeaderBytes(ipc_msg_hdr *hdr);230 char assert1[(sizeof(ipc_msg_hdr) == 28) ? 1 : -1];
118 ipc_msg_hdr hdr;203 ipc_msg_hdr mhdr[1];
172 void ConvertHeaderBytes(ipc_msg_hdr *hdr) in ConvertHeaderBytes()
444 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()1712 const ipc_msg_hdr *const hdr = &request->hdr; in handle_update_request()4606 if (req->hdr_bytes < sizeof(ipc_msg_hdr)) in read_msg()4608 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg()4613 if (req->hdr_bytes > sizeof(ipc_msg_hdr)) in read_msg()4622 if (req->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()4654 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes < req->hdr.datalen) in read_msg()4725 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes == req->hdr.datalen) in read_msg()