Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c107 ipc_msg_hdr ipc_hdr; member
913 int result = read_all(sdRef->sockfd, (void *)&cbh.ipc_hdr, sizeof(cbh.ipc_hdr)); in DNSServiceProcessResult()
944 ConvertHeaderBytes(&cbh.ipc_hdr); in DNSServiceProcessResult()
945 if (cbh.ipc_hdr.version != VERSION) in DNSServiceProcessResult()
947 …ceProcessResult daemon version %d does not match client version %d", cbh.ipc_hdr.version, VERSION); in DNSServiceProcessResult()
952 data = malloc(cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
954 …if (read_all(sdRef->sockfd, data, cbh.ipc_hdr.datalen) < 0) // On error, read_all will write a mes… in DNSServiceProcessResult()
978 cbh.cb_flags = get_flags (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
979 cbh.cb_interface = get_uint32 (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
980 cbh.cb_err = get_error_code(&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
[all …]