e_afalg_err.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (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 HEADER_AFALGERR_H
  11. # define HEADER_AFALGERR_H
  12. # define AFALGerr(f, r) ERR_AFALG_error((f), (r), OPENSSL_FILE, OPENSSL_LINE)
  13. /*
  14. * AFALG function codes.
  15. */
  16. # define AFALG_F_AFALG_CHK_PLATFORM 100
  17. # define AFALG_F_AFALG_CREATE_SK 101
  18. # define AFALG_F_AFALG_INIT_AIO 102
  19. # define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION 103
  20. # define AFALG_F_AFALG_SET_KEY 104
  21. # define AFALG_F_BIND_AFALG 105
  22. /*
  23. * AFALG reason codes.
  24. */
  25. # define AFALG_R_EVENTFD_FAILED 108
  26. # define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111
  27. # define AFALG_R_INIT_FAILED 100
  28. # define AFALG_R_IO_SETUP_FAILED 105
  29. # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101
  30. # define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107
  31. # define AFALG_R_MEM_ALLOC_FAILED 102
  32. # define AFALG_R_SOCKET_ACCEPT_FAILED 110
  33. # define AFALG_R_SOCKET_BIND_FAILED 103
  34. # define AFALG_R_SOCKET_CREATE_FAILED 109
  35. # define AFALG_R_SOCKET_OPERATION_FAILED 104
  36. # define AFALG_R_SOCKET_SET_KEY_FAILED 106
  37. #endif