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 * BIO reason codes. 21 */ 22 #define BIO_R_ACCEPT_ERROR 100 23 #define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141 24 #define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129 25 #define BIO_R_BAD_FOPEN_MODE 101 26 #define BIO_R_BROKEN_PIPE 124 27 #define BIO_R_CONNECT_ERROR 103 28 #define BIO_R_CONNECT_TIMEOUT 147 29 #define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107 30 #define BIO_R_GETSOCKNAME_ERROR 132 31 #define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133 32 #define BIO_R_GETTING_SOCKTYPE 134 33 #define BIO_R_INVALID_ARGUMENT 125 34 #define BIO_R_INVALID_SOCKET 135 35 #define BIO_R_IN_USE 123 36 #define BIO_R_LENGTH_TOO_LONG 102 37 #define BIO_R_LISTEN_V6_ONLY 136 38 #define BIO_R_LOCAL_ADDR_NOT_AVAILABLE 111 39 #define BIO_R_LOOKUP_RETURNED_NOTHING 142 40 #define BIO_R_MALFORMED_HOST_OR_SERVICE 130 41 #define BIO_R_NBIO_CONNECT_ERROR 110 42 #define BIO_R_NON_FATAL 112 43 #define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143 44 #define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144 45 #define BIO_R_NO_PORT_DEFINED 113 46 #define BIO_R_NO_SUCH_FILE 128 47 #define BIO_R_NULL_PARAMETER 115 /* unused */ 48 #define BIO_R_TFO_DISABLED 106 49 #define BIO_R_TFO_NO_KERNEL_SUPPORT 108 50 #define BIO_R_TRANSFER_ERROR 104 51 #define BIO_R_TRANSFER_TIMEOUT 105 52 #define BIO_R_UNABLE_TO_BIND_SOCKET 117 53 #define BIO_R_UNABLE_TO_CREATE_SOCKET 118 54 #define BIO_R_UNABLE_TO_KEEPALIVE 137 55 #define BIO_R_UNABLE_TO_LISTEN_SOCKET 119 56 #define BIO_R_UNABLE_TO_NODELAY 138 57 #define BIO_R_UNABLE_TO_REUSEADDR 139 58 #define BIO_R_UNABLE_TO_TFO 109 59 #define BIO_R_UNAVAILABLE_IP_FAMILY 145 60 #define BIO_R_UNINITIALIZED 120 61 #define BIO_R_UNKNOWN_INFO_TYPE 140 62 #define BIO_R_UNSUPPORTED_IP_FAMILY 146 63 #define BIO_R_UNSUPPORTED_METHOD 121 64 #define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131 65 #define BIO_R_WRITE_TO_READ_ONLY_BIO 126 66 #define BIO_R_WSASTARTUP 122 67 #define BIO_R_PORT_MISMATCH 150 68 #define BIO_R_PEER_ADDR_NOT_AVAILABLE 151 69 70 #endif 71