Home
last modified time | relevance | path

Searched refs:family (Results 1 – 25 of 46) sorted by relevance

12

/openssl/crypto/bio/
H A Dbio_addr.c132 if (family == AF_UNIX) { in BIO_ADDR_rawmake()
136 ap->s_un.sun_family = family; in BIO_ADDR_rawmake()
141 if (family == AF_INET) { in BIO_ADDR_rawmake()
145 ap->s_in.sin_family = family; in BIO_ADDR_rawmake()
151 if (family == AF_INET6) { in BIO_ADDR_rawmake()
155 ap->s_in6.sin6_family = family; in BIO_ADDR_rawmake()
605 (*bai)->bai_family = family; in addrinfo_wrap()
612 if (family == AF_UNIX) in addrinfo_wrap()
676 switch (family) { in BIO_lookup_ex()
694 if (family == AF_UNIX) { in BIO_lookup_ex()
[all …]
H A Dbss_acpt.c182 int family = AF_UNSPEC; in acpt_state() local
190 family = AF_INET6; in acpt_state()
198 family = AF_INET; in acpt_state()
201 family = AF_UNSPEC; in acpt_state()
208 family, SOCK_STREAM, &c->addr_first) == 0) in acpt_state()
H A Dbss_conn.c134 int family = AF_UNSPEC; in conn_state() local
142 family = AF_INET6; in conn_state()
150 family = AF_INET; in conn_state()
153 family = AF_UNSPEC; in conn_state()
161 family, c->connect_sock_type, in conn_state()
/openssl/apps/lib/
H A Ds_socket.c77 int family, int type, int protocol, int tfo, int doconn, in init_client() argument
91 ret = BIO_lookup_ex(host, port, BIO_LOOKUP_CLIENT, family, type, protocol, in init_client()
100 family, type, protocol, &bindaddr); in init_client()
112 OPENSSL_assert((family == AF_UNSPEC in init_client()
113 || family == BIO_ADDRINFO_family(ai)) in init_client()
288 int family, int type, int protocol, do_server_cb cb, in do_server() argument
307 if (!BIO_lookup_ex(host, port, BIO_LOOKUP_SERVER, family, type, protocol, in do_server()
315 OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) in do_server()
457 if (family == AF_UNIX) in do_server()
/openssl/crypto/rand/
H A Drand_egd.c70 int hpns_socket(int family, in hpns_socket() argument
82 return socket(family, type, protocol); in hpns_socket()
87 return socket(family, type, protocol); in hpns_socket()
93 socket_rc = socket(family, type, protocol); in hpns_socket()
/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
48 determine what protocol family, socket type and protocol should be used for
49 the lookup. B<family> can be any of AF_INET, AF_INET6, AF_UNIX and
56 For the family B<AF_UNIX>, BIO_lookup_ex() will ignore the B<service>
62 BIO_ADDRINFO_family() returns the family of the given
H A DBIO_ADDR.pod23 int BIO_ADDR_rawmake(BIO_ADDR *ap, int family,
55 BIO_ADDR_rawmake() takes a protocol B<family>, a byte array of
58 for the B<AF_UNIX> protocol family, where B<port> is meaningless and
65 BIO_ADDR_family() returns the protocol family of the given
101 protocol family AF_UNIX. The returned string has been allocated
110 depending on the protocol family the address is for.
H A DBIO_s_accept.pod32 long BIO_set_accept_ip_family(BIO *b, long family);
103 BIO_get_accept_ip_family() returns the IP family accepted by the BIO I<b>,
106 BIO_set_accept_ip_family() sets the IP family I<family> accepted by BIO I<b>.
187 BIO_get_accept_ip_family() returns the IP family or <= 0 on error.
H A DBIO_s_connect.pod24 long BIO_set_conn_ip_family(BIO *b, long family);
78 BIO_set_conn_ip_family() sets the IP family.
90 BIO_get_conn_ip_family() returns the IP family of the connect BIO.
172 BIO_get_conn_ip_family() returns the address family or -1 if none was set.
H A DSSL_CTX_sessions.pod26 L<SSL_CTX_add_session(3)> family of functions.
H A DSSL_CTX_ctrl.pod19 The SSL_*_ctrl() family of functions is used to manipulate settings of
H A DEVP_ripemd160.pod17 to the RIPEMD family (RACE Integrity Primitives Evaluation Message Digest).
H A Do2i_SCT_LIST.pod20 The SCT_LIST and SCT functions are very similar to the i2d and d2i family of
H A DSSL_CTX_set_info_callback.pod110 L<SSL_state_string(3)> family of functions.
113 L<SSL_alert_type_string(3)> family of functions.
H A DEVP_sha3_224.pod27 SHA-3 (Secure Hash Algorithm 3) is a family of cryptographic hash functions
H A DEVP_sha224.pod26 SHA-2 (Secure Hash Algorithm 2) is a family of cryptographic hash functions
/openssl/test/
H A Dbio_addr_test.c25 static BIO_ADDR *make_dummy_addr(int family) in make_dummy_addr() argument
41 switch(family) { in make_dummy_addr()
73 if (!TEST_true(BIO_ADDR_rawmake(addr, family, where, wherelen, 1000))) { in make_dummy_addr()
/openssl/demos/guide/
H A Dtls-client-block.c29 static BIO *create_socket_bio(const char *hostname, const char *port, int family) in create_socket_bio() argument
39 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_STREAM, 0, in create_socket_bio()
H A Dquic-client-block.c30 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument
40 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_DGRAM, 0, in create_socket_bio()
H A Dtls-client-non-block.c30 static BIO *create_socket_bio(const char *hostname, const char *port, int family) in create_socket_bio() argument
40 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_STREAM, 0, in create_socket_bio()
H A Dquic-client-non-block.c31 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument
41 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_DGRAM, 0, in create_socket_bio()
H A Dquic-multi-stream.c30 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument
40 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_DGRAM, 0, in create_socket_bio()
/openssl/apps/include/
H A Ds_apps.h25 int family, int type, int protocol, do_server_cb cb,
39 int family, int type, int protocol, int tfo, int doconn,
/openssl/util/
H A Dquicserver.c68 static BIO *create_dgram_bio(int family, const char *hostname, const char *port) in create_dgram_bio() argument
81 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_SERVER, family, SOCK_DGRAM, in create_dgram_bio()
/openssl/test/helpers/
H A Dhandshake.c1328 int family = 0; in create_sctp_socks() local
1338 if (!BIO_lookup_ex(NULL, "4463", BIO_LOOKUP_SERVER, family, SOCK_STREAM, in create_sctp_socks()
1343 family = BIO_ADDRINFO_family(ai); in create_sctp_socks()
1344 lsock = BIO_socket(family, SOCK_STREAM, IPPROTO_SCTP, 0); in create_sctp_socks()
1370 if (!BIO_lookup_ex(NULL, "4463", BIO_LOOKUP_CLIENT, family, SOCK_STREAM, in create_sctp_socks()
1374 consock = BIO_socket(family, SOCK_STREAM, IPPROTO_SCTP, 0); in create_sctp_socks()

Completed in 186 milliseconds

12