Searched refs:caddr (Results 1 – 6 of 6) sorted by relevance
/external/libiio/src/iiod/ |
D | iiod.c | 281 struct sockaddr_in caddr; in main_server() local 282 socklen_t addr_len = sizeof(caddr); in main_server() 290 new = accept4(fd, (struct sockaddr *) &caddr, &addr_len, in main_server() 325 inet_ntoa(caddr.sin_addr)); in main_server()
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.py | 59 (caddr, cport) = addr 61 caddr),
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 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() [all …]
|
/external/rust/crates/tokio/tests/ |
D | udp.rs | 322 let caddr = client.local_addr().unwrap(); in try_send_to_recv_from() localVariable 346 assert_eq!(addr, caddr); in try_send_to_recv_from() 409 let caddr = client.local_addr().unwrap(); in try_recv_buf_from() localVariable 433 assert_eq!(addr, caddr); in try_recv_buf_from()
|
/external/python/cpython3/Lib/test/ |
D | test_selectors.py | 31 caddr = c.getsockname() 35 if addr == caddr:
|
/external/openssh/ |
D | ssh.c | 347 resolve_addr(const char *name, int port, char *caddr, size_t clen) in resolve_addr() argument 382 if (strlcpy(caddr, addr, clen) >= clen) { in resolve_addr() 386 *caddr = '\0'; in resolve_addr()
|