Home
last modified time | relevance | path

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

/external/openssh/regress/
Dnetcat.c149 struct sockaddr_storage cliaddr; in main() local
416 len = sizeof(cliaddr); in main()
417 connfd = accept(s, (struct sockaddr *)&cliaddr, in main()
424 report_connect((struct sockaddr *)&cliaddr, len); 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.c3671 dnssd_sockaddr_t cliaddr; in read_msg() local
3678 cliaddr.sin_family = AF_INET; in read_msg()
3679 cliaddr.sin_port = port.NotAnInteger; in read_msg()
3680 cliaddr.sin_addr.s_addr = inet_addr(MDNS_TCP_SERVERADDR); in read_msg()
3684 mDNSPlatformMemZero(&cliaddr, sizeof(cliaddr)); in read_msg()
3685 cliaddr.sun_family = AF_LOCAL; in read_msg()
3686 mDNSPlatformStrCopy(cliaddr.sun_path, ctrl_path); in read_msg()
3701 if (connect(req->errsd, (struct sockaddr *)&cliaddr, sizeof(cliaddr)) < 0) in read_msg()
3706 req->sd, cliaddr.sun_path, dnssd_errno, dnssd_strerror(dnssd_errno)); in read_msg()
3707 if (stat(cliaddr.sun_path, &sb) < 0) in read_msg()
[all …]
/external/python/cpython2/Lib/test/
Dtest_socket.py1779 self.cliaddr = self.cli.getsockname()
1784 self.assertEqual(self.cliaddr, self.connaddr)
/external/python/cpython3/Lib/test/
Dtest_socket.py5214 self.cliaddr = self.cli.getsockname()
5219 self.assertEqual(self.cliaddr, self.connaddr)