Home
last modified time | relevance | path

Searched refs:cliaddr (Results 1 – 3 of 3) sorted by relevance

/external/netcat/
Dnetcat.c130 struct sockaddr_storage cliaddr; in main() local
409 len = sizeof(cliaddr); in main()
410 connfd = accept(s, (struct sockaddr *)&cliaddr, in main()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c105 struct sockaddr_in cliaddr; member
114 struct sockaddr_in cliaddr; member
2572 unsigned int clisize = sizeof( context->cliaddr ); in RecvUDPMessage()
2583 …d, &context->pkt.msg, sizeof(context->pkt.msg), 0, (struct sockaddr *)&context->cliaddr, &clisize); in RecvUDPMessage()
2587 …require_action( clisize == sizeof( context->cliaddr ), exit, err = mStatus_UnknownErr ; Log( "Clie… in RecvUDPMessage()
2588 context->pkt.src = context->cliaddr; in RecvUDPMessage()
2685 …CPMessageHandler: No reply for client %s", inet_ntop( AF_INET, &context->cliaddr.sin_addr, buf, 32… in TCPMessageHandler()
2690 …andler: Unable to send reply to client %s", inet_ntop(AF_INET, &context->cliaddr.sin_addr, buf, 32… in TCPMessageHandler()
2811 unsigned int clilen = sizeof( context->cliaddr); in AcceptTCPConnection()
2819 newSock = accept( sd, ( struct sockaddr* ) &context->cliaddr, &clilen ); in AcceptTCPConnection()
Duds_daemon.c3665 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()
[all …]