Home
last modified time | relevance | path

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

/external/openssl/crypto/bio/
Db_sock.c604 struct sockaddr_in sa_in; in BIO_get_accept_socket() member
693 server.sa_in.sin_family=AF_INET; in BIO_get_accept_socket()
694 server.sa_in.sin_port=htons(port); in BIO_get_accept_socket()
695 addrlen = sizeof(server.sa_in); in BIO_get_accept_socket()
698 server.sa_in.sin_addr.s_addr=INADDR_ANY; in BIO_get_accept_socket()
707 server.sa_in.sin_addr.s_addr=htonl(l); in BIO_get_accept_socket()
756 client.sa_in.sin_addr.s_addr=htonl(0x7F000001); in BIO_get_accept_socket()
832 struct sockaddr_in sa_in; in BIO_accept() member
897 l=ntohl(sa.from.sa_in.sin_addr.s_addr); in BIO_accept()
898 port=ntohs(sa.from.sa_in.sin_port); in BIO_accept()
Dbss_dgram.c113 struct sockaddr_in sa_in; member
290 struct sockaddr_in sa_in; in dgram_read() member
342 peerlen = sizeof(data->peer.sa_in); in dgram_write()
447 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
565 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
587 ret=sizeof(data->peer.sa_in); in dgram_ctrl()
607 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
/external/chromium/net/base/
Dhost_resolver_impl_unittest.cc225 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
226 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
227 EXPECT_TRUE(htonl(0xc0a8012a) == sa_in->sin_addr.s_addr); in TEST_F()
262 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
263 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
264 EXPECT_TRUE(htonl(0xc0a8012a) == sa_in->sin_addr.s_addr); in TEST_F()
320 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
321 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
322 EXPECT_TRUE(htonl(0x7f010203) == sa_in->sin_addr.s_addr); in TEST_F()
/external/dropbear/
Dloginrec.h107 struct sockaddr_in sa_in; member
Dloginrec.c546 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp()
626 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx()