Lines Matching refs:cliaddr
3665 dnssd_sockaddr_t cliaddr; in read_msg() local
3672 cliaddr.sin_family = AF_INET; in read_msg()
3673 cliaddr.sin_port = port.NotAnInteger; in read_msg()
3674 cliaddr.sin_addr.s_addr = inet_addr(MDNS_TCP_SERVERADDR); in read_msg()
3678 mDNSPlatformMemZero(&cliaddr, sizeof(cliaddr)); in read_msg()
3679 cliaddr.sun_family = AF_LOCAL; in read_msg()
3680 mDNSPlatformStrCopy(cliaddr.sun_path, ctrl_path); in read_msg()
3695 if (connect(req->errsd, (struct sockaddr *)&cliaddr, sizeof(cliaddr)) < 0) in read_msg()
3700 req->sd, cliaddr.sun_path, dnssd_errno, dnssd_strerror(dnssd_errno)); in read_msg()
3701 if (stat(cliaddr.sun_path, &sb) < 0) in read_msg()
3702 …LogMsg("%3d: read_msg: stat failed “%s” errno %d (%s)", req->sd, cliaddr.sun_path, dnssd_errno, dn… in read_msg()
3704 …LogMsg("%3d: read_msg: file “%s” mode %o (octal) uid %d gid %d", req->sd, cliaddr.sun_path, sb.st_… in read_msg()
3879 dnssd_sockaddr_t cliaddr; in connect_callback() local
3880 dnssd_socklen_t len = (dnssd_socklen_t) sizeof(cliaddr); in connect_callback()
3881 dnssd_sock_t sd = accept(fd, (struct sockaddr*) &cliaddr, &len); in connect_callback()