Lines Matching refs:caddr
577 dnssd_sockaddr_t caddr;
578 dnssd_socklen_t len = (dnssd_socklen_t) sizeof(caddr);
582 caddr.sin_family = AF_INET;
583 caddr.sin_port = 0;
584 caddr.sin_addr.s_addr = inet_addr(MDNS_TCP_SERVERADDR);
585 if (bind(listenfd, (struct sockaddr*) &caddr, sizeof(caddr)) < 0) deliver_request_bailout("TCP bind");
586 if (getsockname(listenfd, (struct sockaddr*) &caddr, &len) < 0) deliver_request_bailout("TCP getsockname");
588 port.s = caddr.sin_port;
596 dnssd_sockaddr_t caddr;
600 caddr.sun_family = AF_LOCAL;
604 caddr.sun_len = sizeof(struct sockaddr_un);
606 strcpy(caddr.sun_path, data);
608 bindresult = bind(listenfd, (struct sockaddr *)&caddr, sizeof(caddr));