Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSShared/
Duds_daemon.h32 extern int udsserver_init(dnssd_sock_t skts[], mDNSu32 count);
41 extern mStatus udsSupportAddFDToEventLoop(dnssd_sock_t fd, udsEventCallback callback, void *context…
42 extern int udsSupportReadFD(dnssd_sock_t fd, char* buf, int len, int flags, void *platform_data…
43 extern mStatus udsSupportRemoveFDFromEventLoop(dnssd_sock_t fd, void *platform_data); // Note: This…
Ddnssd_ipc.h44 # define dnssd_sock_t SOCKET macro
74 # define dnssd_sock_t int macro
Ddnssd_clientstub.c132 dnssd_sock_t sockfd; // Connected socket between client and daemon
133 dnssd_sock_t validator; // Used to detect memory corruption, double disposals, etc.
161 static int write_all(dnssd_sock_t sd, char *buf, size_t len) in write_all()
201 static int read_all(dnssd_sock_t sd, char *buf, int len) in read_all()
249 static int more_bytes(dnssd_sock_t sd) in more_bytes()
286 static int wait_for_daemon(dnssd_sock_t sock, int timeout) in wait_for_daemon()
560 dnssd_sock_t listenfd = dnssd_InvalidSocket, errsd = dnssd_InvalidSocket; in deliver_request()
623 dnssd_sock_t sp[2]; in deliver_request()
704 char cbuf[CMSG_SPACE(sizeof(dnssd_sock_t))]; in deliver_request()
726 msg.msg_controllen = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request()
[all …]
Duds_daemon.c135 dnssd_sock_t sd;
136 dnssd_sock_t errsd;
254 static dnssd_sock_t listenfd = dnssd_InvalidSocket;
562 mDNSlocal void send_all(dnssd_sock_t s, const char *ptr, int len) in send_all()
3611 char cbuf[CMSG_SPACE(sizeof(dnssd_sock_t))]; in read_msg()
3635 cmsg->cmsg_len == CMSG_LEN(sizeof(dnssd_sock_t)) && in read_msg()
3645 dnssd_sock_t x = *(dnssd_sock_t *)CMSG_DATA(cmsg); in read_msg()
3651 req->errsd = *(dnssd_sock_t *)CMSG_DATA(cmsg); in read_msg()
3887 dnssd_sock_t sd = accept(fd, (struct sockaddr*) &cliaddr, &len); in connect_callback()
3935 mDNSlocal mDNSBool uds_socket_setup(dnssd_sock_t skt) in uds_socket_setup()
[all …]
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c194 dnssd_sock_t s[1]; in main()
248 int udsSupportReadFD(dnssd_sock_t fd, char *buf, int len, int flags, void *platform_data) in udsSupportReadFD()