X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FBIO_ADDRINFO.pod;h=8ca6454abbcb2a15ef00a10d537803e362404ea6;hp=45e6e05761c2e1d2b092218674df498dabc2c73a;hb=f7b3cb2ad0fac9d5ea0025c4d84ff4603a78b64e;hpb=e829142846467b4815d96fe9198e73d5e4d9bbf1 diff --git a/doc/man3/BIO_ADDRINFO.pod b/doc/man3/BIO_ADDRINFO.pod index 45e6e05761..8ca6454abb 100644 --- a/doc/man3/BIO_ADDRINFO.pod +++ b/doc/man3/BIO_ADDRINFO.pod @@ -6,6 +6,7 @@ BIO_lookup_type, BIO_ADDRINFO, BIO_ADDRINFO_next, BIO_ADDRINFO_free, BIO_ADDRINFO_family, BIO_ADDRINFO_socktype, BIO_ADDRINFO_protocol, BIO_ADDRINFO_address, +BIO_lookup_ex, BIO_lookup - BIO_ADDRINFO type and routines @@ -52,7 +53,7 @@ IPPROTO_TCP, IPPROTO_UDP or IPPORTO_SCTP. If set to 0 than any protocol can be used. B points at a pointer to hold the start of a B chain. -For the family B, BIO_lookup() will ignore the B +For the family B, BIO_lookup_ex() will ignore the B parameter and expects the B parameter to hold the path to the socket file. @@ -89,6 +90,14 @@ case. All other functions described here return 0 or B when the information they should return isn't available. +=head1 NOTES + +The BIO_lookup_ex() implementation uses the platform provided getaddrinfo() +function. On Linux it is known that specifying 0 for the protocol will not +return any SCTP based addresses when calling getaddrinfo(). Therefore if an SCTP +address is required then the B parameter to BIO_lookup_ex() should be +explicitly set to IPPROTO_SCTP. The same may be true on other platforms. + =head1 HISTORY The BIO_lookup_ex() function was added in OpenSSL 1.1.1.