summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_s_accept.3
diff options
context:
space:
mode:
authorschwarze <>2023-04-26 15:03:02 +0000
committerschwarze <>2023-04-26 15:03:02 +0000
commit563a58f0e6fc039507a215038ba3eab4873d0c9f (patch)
tree850ce414b765f9eb5e043a9d549bbd0faa429b9f /src/lib/libcrypto/man/BIO_s_accept.3
parent694947bcadf2e7c392af1ace6790eb555c176d4f (diff)
downloadopenbsd-563a58f0e6fc039507a215038ba3eab4873d0c9f.tar.gz
openbsd-563a58f0e6fc039507a215038ba3eab4873d0c9f.tar.bz2
openbsd-563a58f0e6fc039507a215038ba3eab4873d0c9f.zip
Document those BIO_ctrl(3) command constants
that correspond to more than one macro each.
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_accept.3')
-rw-r--r--src/lib/libcrypto/man/BIO_s_accept.347
1 files changed, 35 insertions, 12 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_accept.3 b/src/lib/libcrypto/man/BIO_s_accept.3
index ffbcccc796..8a60eeda0a 100644
--- a/src/lib/libcrypto/man/BIO_s_accept.3
+++ b/src/lib/libcrypto/man/BIO_s_accept.3
@@ -1,7 +1,24 @@
1.\" $OpenBSD: BIO_s_accept.3,v 1.14 2023/04/11 16:58:43 schwarze Exp $ 1.\" $OpenBSD: BIO_s_accept.3,v 1.15 2023/04/26 15:03:02 schwarze Exp $
2.\" OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400 2.\" full merge up to: OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file is a derived work.
5.\" The changes are covered by the following Copyright and license:
6.\"
7.\" Copyright (c) 2023 Ingo Schwarze <schwarze@openbsd.org>
8.\"
9.\" Permission to use, copy, modify, and distribute this software for any
10.\" purpose with or without fee is hereby granted, provided that the above
11.\" copyright notice and this permission notice appear in all copies.
12.\"
13.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
14.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
15.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
16.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
19.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20.\"
21.\" The original file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2000, 2014, 2015 The OpenSSL Project. All rights reserved. 22.\" Copyright (c) 2000, 2014, 2015 The OpenSSL Project. All rights reserved.
6.\" 23.\"
7.\" Redistribution and use in source and binary forms, with or without 24.\" Redistribution and use in source and binary forms, with or without
@@ -48,7 +65,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 67.\"
51.Dd $Mdocdate: April 11 2023 $ 68.Dd $Mdocdate: April 26 2023 $
52.Dt BIO_S_ACCEPT 3 69.Dt BIO_S_ACCEPT 3
53.Os 70.Os
54.Sh NAME 71.Sh NAME
@@ -271,15 +288,21 @@ would block: the application should take appropriate action
271to wait until the underlying socket has accepted a connection 288to wait until the underlying socket has accepted a connection
272and retry the call. 289and retry the call.
273.Pp 290.Pp
274.Fn BIO_set_accept_port , 291.Xr BIO_ctrl 3
275.Fn BIO_get_accept_port , 292.Fa cmd
276.Fn BIO_set_nbio_accept ,
277.Fn BIO_set_accept_bios ,
278.Fn BIO_set_bind_mode ,
279.Fn BIO_get_bind_mode ,
280and 293and
281.Fn BIO_do_accept 294.Fa larg
282are macros. 295arguments correspond to macros as follows:
296.Bl -column BIO_C_DO_STATE_MACHINE larg BIO_get_accept_port(3) -offset 3n
297.It Fa cmd No constant Ta Fa larg Ta corresponding macro
298.It Dv BIO_C_DO_STATE_MACHINE Ta 0 Ta Fn BIO_do_accept
299.It Dv BIO_C_GET_ACCEPT Ta 0 Ta Fn BIO_get_accept_port
300.It Dv BIO_C_GET_BIND_MODE Ta 0 Ta Fn BIO_get_bind_mode
301.It Dv BIO_C_SET_ACCEPT Ta 0 Ta Fn BIO_set_accept_port
302.It Ta 1 Ta Fn BIO_set_nbio_accept
303.It Ta 2 Ta Fn BIO_set_accept_bios
304.It Dv BIO_C_SET_BIND_MODE Ta Fa mode Ta Fn BIO_set_bind_mode
305.El
283.Sh RETURN VALUES 306.Sh RETURN VALUES
284When called on an accept BIO object, 307When called on an accept BIO object,
285.Xr BIO_method_type 3 308.Xr BIO_method_type 3