Searched refs:ipc_msg_hdr (Results 1 – 4 of 4) sorted by relevance
184 } ipc_msg_hdr; typedef216 void ConvertHeaderBytes(ipc_msg_hdr *hdr);223 char assert1[(sizeof(ipc_msg_hdr) == 28) ? 1 : -1];
112 ipc_msg_hdr ipc_hdr;342 static ipc_msg_hdr *create_hdr(uint32_t op, size_t *len, char **data_start, int SeparateReturnSocke… in create_hdr()345 ipc_msg_hdr *hdr; in create_hdr()368 *len += sizeof(ipc_msg_hdr); in create_hdr()375 hdr = (ipc_msg_hdr *)msg; in create_hdr()382 *data_start = msg + sizeof(ipc_msg_hdr); in create_hdr()599 static DNSServiceErrorType deliver_request(ipc_msg_hdr *hdr, DNSServiceOp *sdr) in deliver_request()603 char *const data = (char *)hdr + sizeof(ipc_msg_hdr); in deliver_request()709 for (i=0; i<datalen + sizeof(ipc_msg_hdr); i++) in deliver_request()717 if (write_all(sdr->sockfd, (char *)hdr, datalen + sizeof(ipc_msg_hdr)) < 0) in deliver_request()[all …]
154 void ConvertHeaderBytes(ipc_msg_hdr *hdr) in ConvertHeaderBytes()
161 ipc_msg_hdr hdr;259 ipc_msg_hdr mhdr[1];534 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()1475 const ipc_msg_hdr *const hdr = &request->hdr; in handle_update_request()4605 if (req->hdr_bytes < sizeof(ipc_msg_hdr)) in read_msg()4607 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg()4612 if (req->hdr_bytes > sizeof(ipc_msg_hdr)) in read_msg()4616 if (req->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()4639 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes < req->hdr.datalen) in read_msg()4702 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes == req->hdr.datalen) in read_msg()