bioerr.h 2.3 KB

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