Home
last modified time | relevance | path

Searched refs:socktype (Results 1 – 8 of 8) sorted by relevance

/openssl/crypto/bio/
H A Dbio_sock2.c42 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument
49 sock = socket(domain, socktype, protocol); in BIO_socket()
290 int socktype; in BIO_listen() local
291 socklen_t socktype_len = sizeof(socktype); in BIO_listen()
299 (void *)&socktype, &socktype_len) != 0 in BIO_listen()
300 || socktype_len != sizeof(socktype)) { in BIO_listen()
351 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
363 if ((options & BIO_SOCK_TFO) && socktype != SOCK_DGRAM) { in BIO_listen()
H A Dbio_addr.c597 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument
606 (*bai)->bai_socktype = socktype; in addrinfo_wrap()
607 if (socktype == SOCK_STREAM) in addrinfo_wrap()
609 if (socktype == SOCK_DGRAM) in addrinfo_wrap()
644 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument
646 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup()
672 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument
695 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex()
714 hints.ai_socktype = socktype; in BIO_lookup_ex()
882 switch (socktype) { in BIO_lookup_ex()
[all …]
/openssl/doc/man3/
H A DBIO_ADDRINFO.pod25 int family, int socktype, int protocol, BIO_ADDRINFO **res);
28 int family, int socktype, BIO_ADDRINFO **res);
47 be if B<host> is B<NULL>. B<family>, B<socktype> and B<protocol> are used to
50 AF_UNSPEC. B<socktype> can be SOCK_STREAM, SOCK_DGRAM or 0. Specifying 0
H A DBIO_connect.pod12 int BIO_socket(int domain, int socktype, int protocol, int options);
22 B<socktype> and B<protocol>. Socket B<options> are currently unused,
/openssl/test/helpers/
H A Dssltestlib.c1011 int create_test_sockets(int *cfdp, int *sfdp, int socktype, BIO_ADDR *saddr) in create_test_sockets() argument
1023 afd = BIO_socket(AF_INET, socktype, in create_test_sockets()
1024 socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP, 0); in create_test_sockets()
1039 if (socktype == SOCK_STREAM && listen(afd, 1) < 0) in create_test_sockets()
1042 cfd = BIO_socket(AF_INET, socktype, in create_test_sockets()
1043 socktype == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP, 0); in create_test_sockets()
1054 if (socktype == SOCK_DGRAM) { in create_test_sockets()
H A Dssltestlib.h34 int create_test_sockets(int *cfdp, int *sfdp, int socktype, BIO_ADDR *saddr);
/openssl/include/openssl/
H A Dbio.h.in844 int family, int socktype, BIO_ADDRINFO **res);
846 int lookup_type, int family, int socktype, int protocol,
880 int BIO_socket(int domain, int socktype, int protocol, int options);
/openssl/crypto/err/
H A Dopenssl.txt141 BIO_R_GETTING_SOCKTYPE:134:getting socktype

Completed in 31 milliseconds