Home
last modified time | relevance | path

Searched refs:ipc_msg_hdr (Results 1 – 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c107 ipc_msg_hdr ipc_hdr;
328 static ipc_msg_hdr *create_hdr(uint32_t op, size_t *len, char **data_start, int SeparateReturnSocke… in create_hdr()
331 ipc_msg_hdr *hdr; in create_hdr()
354 *len += sizeof(ipc_msg_hdr); in create_hdr()
361 hdr = (ipc_msg_hdr *)msg; in create_hdr()
368 *data_start = msg + sizeof(ipc_msg_hdr); in create_hdr()
554 static DNSServiceErrorType deliver_request(ipc_msg_hdr *hdr, DNSServiceOp *sdr) in deliver_request()
558 char *const data = (char *)hdr + sizeof(ipc_msg_hdr); in deliver_request()
657 for (i=0; i<datalen + sizeof(ipc_msg_hdr); i++) in deliver_request()
665 if (write_all(sdr->sockfd, (char *)hdr, datalen + sizeof(ipc_msg_hdr)) < 0) in deliver_request()
[all …]
Ddnssd_ipc.h183 } ipc_msg_hdr; typedef
209 void ConvertHeaderBytes(ipc_msg_hdr *hdr);
216 char assert1[(sizeof(ipc_msg_hdr) == 28) ? 1 : -1];
Ddnssd_ipc.c154 void ConvertHeaderBytes(ipc_msg_hdr *hdr) in ConvertHeaderBytes()
Duds_daemon.c145 ipc_msg_hdr hdr;
240 ipc_msg_hdr mhdr[1];
372 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()
1206 const ipc_msg_hdr *const hdr = &request->hdr; in handle_update_request()
3569 if (req->hdr_bytes < sizeof(ipc_msg_hdr)) in read_msg()
3571 mDNSu32 nleft = sizeof(ipc_msg_hdr) - req->hdr_bytes; in read_msg()
3576 if (req->hdr_bytes > sizeof(ipc_msg_hdr)) in read_msg()
3580 if (req->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()
3603 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes < req->hdr.datalen) in read_msg()
3667 if (req->hdr_bytes == sizeof(ipc_msg_hdr) && req->data_bytes == req->hdr.datalen) in read_msg()