Home
last modified time | relevance | path

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

/external/openssl/patches/
Dfix_clang_build.patch29 server.sa_in.sin_family=AF_INET;
30 server.sa_in.sin_port=htons(port);
31 - addrlen = sizeof(server.sa_in);
32 + addrlen = (socklen_t)sizeof(server.sa_in);
35 server.sa_in.sin_addr.s_addr=INADDR_ANY;
/external/chromium_org/third_party/openssl/openssl/patches/
Dfix_clang_build.patch29 server.sa_in.sin_family=AF_INET;
30 server.sa_in.sin_port=htons(port);
31 - addrlen = sizeof(server.sa_in);
32 + addrlen = (socklen_t)sizeof(server.sa_in);
35 server.sa_in.sin_addr.s_addr=INADDR_ANY;
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
Db_sock.c627 struct sockaddr_in sa_in; in BIO_get_accept_socket() member
721 server.sa_in.sin_family=AF_INET; in BIO_get_accept_socket()
722 server.sa_in.sin_port=htons(port); in BIO_get_accept_socket()
723 addrlen = (socklen_t)sizeof(server.sa_in); in BIO_get_accept_socket()
726 server.sa_in.sin_addr.s_addr=INADDR_ANY; in BIO_get_accept_socket()
735 server.sa_in.sin_addr.s_addr=htonl(l); in BIO_get_accept_socket()
784 client.sa_in.sin_addr.s_addr=htonl(0x7F000001); in BIO_get_accept_socket()
860 struct sockaddr_in sa_in; in BIO_accept() member
925 l=ntohl(sa.from.sa_in.sin_addr.s_addr); in BIO_accept()
926 port=ntohs(sa.from.sa_in.sin_port); in BIO_accept()
Dbss_dgram.c158 struct sockaddr_in sa_in; member
182 struct sockaddr_in sa_in; member
374 struct sockaddr_in sa_in; in dgram_read() member
427 peerlen = sizeof(data->peer.sa_in); in dgram_write()
531 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
669 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
691 ret=sizeof(data->peer.sa_in); in dgram_ctrl()
711 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
/external/openssl/crypto/bio/
Db_sock.c627 struct sockaddr_in sa_in; in BIO_get_accept_socket() member
721 server.sa_in.sin_family=AF_INET; in BIO_get_accept_socket()
722 server.sa_in.sin_port=htons(port); in BIO_get_accept_socket()
723 addrlen = (socklen_t)sizeof(server.sa_in); in BIO_get_accept_socket()
726 server.sa_in.sin_addr.s_addr=INADDR_ANY; in BIO_get_accept_socket()
735 server.sa_in.sin_addr.s_addr=htonl(l); in BIO_get_accept_socket()
784 client.sa_in.sin_addr.s_addr=htonl(0x7F000001); in BIO_get_accept_socket()
860 struct sockaddr_in sa_in; in BIO_accept() member
925 l=ntohl(sa.from.sa_in.sin_addr.s_addr); in BIO_accept()
926 port=ntohs(sa.from.sa_in.sin_port); in BIO_accept()
Dbss_dgram.c158 struct sockaddr_in sa_in; member
182 struct sockaddr_in sa_in; member
374 struct sockaddr_in sa_in; in dgram_read() member
427 peerlen = sizeof(data->peer.sa_in); in dgram_write()
531 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
669 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
691 ret=sizeof(data->peer.sa_in); in dgram_ctrl()
711 memcpy(&data->peer,to,sizeof(data->peer.sa_in)); in dgram_ctrl()
/external/chromium/net/websockets/
Dwebsocket_job_unittest.cc200 struct sockaddr_in sa_in; in InitWebSocketJob() local
201 memset(&sa_in, 0, sizeof(struct sockaddr_in)); in InitWebSocketJob()
202 memcpy(&sa_in.sin_addr, "\x7f\0\0\1", 4); in InitWebSocketJob()
203 addr.ai_addr = reinterpret_cast<sockaddr*>(&sa_in); in InitWebSocketJob()
/external/chromium/net/base/
Dhost_resolver_impl_unittest.cc288 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
289 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
290 EXPECT_TRUE(htonl(0xc0a8012a) == sa_in->sin_addr.s_addr); in TEST_F()
333 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
334 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
335 EXPECT_TRUE(htonl(0xc0a8012a) == sa_in->sin_addr.s_addr); in TEST_F()
424 const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; in TEST_F() local
425 EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); in TEST_F()
426 EXPECT_TRUE(htonl(0x7f010203) == sa_in->sin_addr.s_addr); in TEST_F()
1693 const struct sockaddr_in* sa_in = reinterpret_cast<const sockaddr_in*>(sa); in TEST_F() local
[all …]
/external/openssh/
Dloginrec.h44 struct sockaddr_in sa_in; member
Dloginrec.c703 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp()
785 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx()
/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()