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
920 int result = read_all(sdRef->sockfd, (void *)&cbh.ipc_hdr, sizeof(cbh.ipc_hdr)); in DNSServiceProcessResult()
951 ConvertHeaderBytes(&cbh.ipc_hdr); in DNSServiceProcessResult()
952 if (cbh.ipc_hdr.version != VERSION) in DNSServiceProcessResult()
954 …ceProcessResult daemon version %d does not match client version %d", cbh.ipc_hdr.version, VERSION); in DNSServiceProcessResult()
959 data = malloc(cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
961 …if (read_all(sdRef->sockfd, data, cbh.ipc_hdr.datalen) < 0) // On error, read_all will write a mes… in DNSServiceProcessResult()
985 cbh.cb_flags = get_flags (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
986 cbh.cb_interface = get_uint32 (&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
987 cbh.cb_err = get_error_code(&ptr, data + cbh.ipc_hdr.datalen); in DNSServiceProcessResult()
[all …]