Searched refs:ipc_msg_hdr (Results 1 – 4 of 4) sorted by relevance
305 static ipc_msg_hdr *create_hdr(uint32_t op, size_t *len, char **data_start, int reuse_socket) in create_hdr()308 ipc_msg_hdr *hdr; in create_hdr()328 *len += sizeof(ipc_msg_hdr); in create_hdr()340 *data_start = msg + sizeof(ipc_msg_hdr); in create_hdr()418 ipc_msg_hdr *hdr = msg; in deliver_request()421 char *const data = (char *)msg + sizeof(ipc_msg_hdr); in deliver_request()472 if (write_all(sdr->sockfd, msg, datalen + sizeof(ipc_msg_hdr)) < 0) in deliver_request()520 ipc_msg_hdr hdr; in DNSServiceProcessResult()556 static void handle_resolve_response(DNSServiceRef sdr, ipc_msg_hdr *hdr, char *data) in handle_resolve_response()597 ipc_msg_hdr *hdr; in DNSServiceResolve()[all …]
194 typedef struct ipc_msg_hdr_struct ipc_msg_hdr; typedef202 ipc_msg_hdr *hdr,251 void ConvertHeaderBytes(ipc_msg_hdr *hdr);
128 void ConvertHeaderBytes(ipc_msg_hdr *hdr) in ConvertHeaderBytes()
783 ipc_msg_hdr hdr;825 ipc_msg_hdr *mhdr;3297 if (rs->hdr_bytes < sizeof(ipc_msg_hdr)) in read_msg()3299 nleft = sizeof(ipc_msg_hdr) - rs->hdr_bytes; in read_msg()3304 if (rs->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()3314 if (rs->hdr_bytes > sizeof(ipc_msg_hdr)) in read_msg()3323 if (rs->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()3357 if (rs->hdr_bytes == sizeof(ipc_msg_hdr) && rs->data_bytes == rs->hdr.datalen) in read_msg()3433 totallen = (int) (datalen + sizeof(ipc_msg_hdr)); in create_reply()3444 reply->mhdr = (ipc_msg_hdr *)reply->msgbuf; in create_reply()[all …]