1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#ifndef OPENSSL_BIOERR_H
12# define OPENSSL_BIOERR_H
13# pragma once
14
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
17# include <openssl/cryptoerr_legacy.h>
18
19
20
21/*
22 * BIO reason codes.
23 */
24# define BIO_R_ACCEPT_ERROR 100
25# define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
26# define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
27# define BIO_R_BAD_FOPEN_MODE 101
28# define BIO_R_BROKEN_PIPE 124
29# define BIO_R_CONNECT_ERROR 103
30# define BIO_R_CONNECT_TIMEOUT 147
31# define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
32# define BIO_R_GETSOCKNAME_ERROR 132
33# define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
34# define BIO_R_GETTING_SOCKTYPE 134
35# define BIO_R_INVALID_ARGUMENT 125
36# define BIO_R_INVALID_SOCKET 135
37# define BIO_R_IN_USE 123
38# define BIO_R_LENGTH_TOO_LONG 102
39# define BIO_R_LISTEN_V6_ONLY 136
40# define BIO_R_LOCAL_ADDR_NOT_AVAILABLE 111
41# define BIO_R_LOOKUP_RETURNED_NOTHING 142
42# define BIO_R_MALFORMED_HOST_OR_SERVICE 130
43# define BIO_R_NBIO_CONNECT_ERROR 110
44# define BIO_R_NON_FATAL 112
45# define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
46# define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
47# define BIO_R_NO_PORT_DEFINED 113
48# define BIO_R_NO_SUCH_FILE 128
49# define BIO_R_NULL_PARAMETER 115 /* unused */
50# define BIO_R_TFO_DISABLED 106
51# define BIO_R_TFO_NO_KERNEL_SUPPORT 108
52# define BIO_R_TRANSFER_ERROR 104
53# define BIO_R_TRANSFER_TIMEOUT 105
54# define BIO_R_UNABLE_TO_BIND_SOCKET 117
55# define BIO_R_UNABLE_TO_CREATE_SOCKET 118
56# define BIO_R_UNABLE_TO_KEEPALIVE 137
57# define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
58# define BIO_R_UNABLE_TO_NODELAY 138
59# define BIO_R_UNABLE_TO_REUSEADDR 139
60# define BIO_R_UNABLE_TO_TFO 109
61# define BIO_R_UNAVAILABLE_IP_FAMILY 145
62# define BIO_R_UNINITIALIZED 120
63# define BIO_R_UNKNOWN_INFO_TYPE 140
64# define BIO_R_UNSUPPORTED_IP_FAMILY 146
65# define BIO_R_UNSUPPORTED_METHOD 121
66# define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
67# define BIO_R_WRITE_TO_READ_ONLY_BIO 126
68# define BIO_R_WSASTARTUP 122
69# define BIO_R_PORT_MISMATCH 150
70# define BIO_R_PEER_ADDR_NOT_AVAILABLE 151
71
72#endif
73