Lines Matching refs:caddr
585 dnssd_sockaddr_t caddr; in deliver_request() local
586 dnssd_socklen_t len = (dnssd_socklen_t) sizeof(caddr); in deliver_request()
590 caddr.sin_family = AF_INET; in deliver_request()
591 caddr.sin_port = 0; in deliver_request()
592 caddr.sin_addr.s_addr = inet_addr(MDNS_TCP_SERVERADDR); in deliver_request()
593 …if (bind(listenfd, (struct sockaddr*) &caddr, sizeof(caddr)) < 0) deliver_request_bailout("TCP bin… in deliver_request()
594 …if (getsockname(listenfd, (struct sockaddr*) &caddr, &len) < 0) deliver_request_bailout("TCP get… in deliver_request()
596 port.s = caddr.sin_port; in deliver_request()
604 dnssd_sockaddr_t caddr; in deliver_request()
608 caddr.sun_family = AF_LOCAL; in deliver_request()
612 caddr.sun_len = sizeof(struct sockaddr_un); in deliver_request()
614 strcpy(caddr.sun_path, data); in deliver_request()
616 bindresult = bind(listenfd, (struct sockaddr *)&caddr, sizeof(caddr)); in deliver_request()