BIO_s_accept.pod: Add missing documentation for BIO_{get,set}_accept_ip_family()
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 24 May 2021 11:02:55 +0000 (13:02 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 29 May 2021 05:47:03 +0000 (07:47 +0200)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15417)

doc/man3/BIO_s_accept.pod

index be1aaabb992e80f993baaad0af734e7951d94ea6..4e6a915b46c5a2469bb0eed2185e8bcdb6265a43 100644 (file)
@@ -94,6 +94,12 @@ buffering or SSL BIO is required for each connection. The
 chain of BIOs must not be freed after this call, they will
 be automatically freed when the accept BIO is freed.
 
+BIO_get_accept_ip_family() returns the IP family accepted by the BIO I<b>,
+which may be B<BIO_FAMILY_IPV4>, B<BIO_FAMILY_IPV6>, or B<BIO_FAMILY_IPANY>.
+
+BIO_set_accept_ip_family() sets the IP family I<family> accepted by BIO I<b>.
+The default is B<BIO_FAMILY_IPANY>.
+
 BIO_set_bind_mode() and BIO_get_bind_mode() set and retrieve
 the current bind mode. If B<BIO_BIND_NORMAL> (the default) is set
 then another socket cannot be bound to the same port. If