Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 6 of 6) sorted by relevance

/openssl/apps/lib/
H A Dvms_term_sock.c292 struct sockaddr_in sin; in CreateSocketPair() local
321 slen = sizeof(sin); in CreateSocketPair()
322 memset ((char *) &sin, 0, slen); in CreateSocketPair()
323 sin.sin_family = SocketFamily; in CreateSocketPair()
324 sin.sin_addr.s_addr = inet_addr (LocalHostAddr); in CreateSocketPair()
325 sin.sin_port = 0; in CreateSocketPair()
346 LocalHostPort = sin.sin_port; in CreateSocketPair()
438 memset ((char *) &sin, 0, sizeof(sin)) ; in CreateSocketPair()
439 sin.sin_family = SocketFamily; in CreateSocketPair()
441 sin.sin_port = LocalHostPort ; in CreateSocketPair()
[all …]
/openssl/test/
H A Dquic_client_test.c180 struct sockaddr_in sin = {0}; in test_quic_client_connect_first() local
185 sin.sin_len = sizeof(struct sockaddr_in); in test_quic_client_connect_first()
187 sin.sin_family = AF_INET; in test_quic_client_connect_first()
188 sin.sin_port = htons(DST_PORT); in test_quic_client_connect_first()
189 sin.sin_addr.s_addr = htonl(DST_ADDR); in test_quic_client_connect_first()
195 if (!TEST_int_eq(connect(c_fd, (const struct sockaddr *)&sin, sizeof(sin)), 0)) in test_quic_client_connect_first()
H A Dbio_addr_test.c29 struct sockaddr_in sin; in make_dummy_addr() member
43 where = &(sa.sin.sin_addr); in make_dummy_addr()
44 wherelen = sizeof(sa.sin.sin_addr); in make_dummy_addr()
/openssl/test/helpers/
H A Dssltestlib.c1013 struct sockaddr_in sin; in create_test_sockets() local
1016 socklen_t slen = sizeof(sin); in create_test_sockets()
1019 memset ((char *) &sin, 0, sizeof(sin)); in create_test_sockets()
1020 sin.sin_family = AF_INET; in create_test_sockets()
1021 sin.sin_addr.s_addr = inet_addr(host); in create_test_sockets()
1028 if (bind(afd, (struct sockaddr*)&sin, sizeof(sin)) < 0) in create_test_sockets()
1031 if (getsockname(afd, (struct sockaddr*)&sin, &slen) < 0) in create_test_sockets()
1035 && !BIO_ADDR_rawmake(saddr, sin.sin_family, &sin.sin_addr, in create_test_sockets()
1036 sizeof(sin.sin_addr), sin.sin_port)) in create_test_sockets()
1065 if (!cfd_connected && connect(cfd, (struct sockaddr*)&sin, sizeof(sin)) < 0) in create_test_sockets()
/openssl/test/recipes/
H A D82-test_tfo_cli.t43 my $spid = open2(my $sout, my $sin, $shlib_wrap, $apps_openssl, @s_cmd);
/openssl/util/perl/TLSProxy/
H A DProxy.pm293 my $sin = undef;
296 $pid = IPC::Open2::open2($sout, $sin, $execcmd) or die "Failed to $execcmd: $!\n";
298 $pid = IPC::Open3::open3($sin, $sout, undef, $execcmd) or die "Failed to $execcmd: $!\n";

Completed in 16 milliseconds