protocol_uae.h 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. // SPDX-License-Identifier: GPL-2.0
  2. /* Universal AFS Error codes (UAE).
  3. *
  4. * Copyright (C) 2003, Daria Phoebe Brashear
  5. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  6. */
  7. enum {
  8. UAEPERM = 0x2f6df00, /* Operation not permitted */
  9. UAENOENT = 0x2f6df01, /* No such file or directory */
  10. UAESRCH = 0x2f6df02, /* No such process */
  11. UAEINTR = 0x2f6df03, /* Interrupted system call */
  12. UAEIO = 0x2f6df04, /* I/O error */
  13. UAENXIO = 0x2f6df05, /* No such device or address */
  14. UAE2BIG = 0x2f6df06, /* Arg list too long */
  15. UAENOEXEC = 0x2f6df07, /* Exec format error */
  16. UAEBADF = 0x2f6df08, /* Bad file number */
  17. UAECHILD = 0x2f6df09, /* No child processes */
  18. UAEAGAIN = 0x2f6df0a, /* Try again */
  19. UAENOMEM = 0x2f6df0b, /* Out of memory */
  20. UAEACCES = 0x2f6df0c, /* Permission denied */
  21. UAEFAULT = 0x2f6df0d, /* Bad address */
  22. UAENOTBLK = 0x2f6df0e, /* Block device required */
  23. UAEBUSY = 0x2f6df0f, /* Device or resource busy */
  24. UAEEXIST = 0x2f6df10, /* File exists */
  25. UAEXDEV = 0x2f6df11, /* Cross-device link */
  26. UAENODEV = 0x2f6df12, /* No such device */
  27. UAENOTDIR = 0x2f6df13, /* Not a directory */
  28. UAEISDIR = 0x2f6df14, /* Is a directory */
  29. UAEINVAL = 0x2f6df15, /* Invalid argument */
  30. UAENFILE = 0x2f6df16, /* File table overflow */
  31. UAEMFILE = 0x2f6df17, /* Too many open files */
  32. UAENOTTY = 0x2f6df18, /* Not a typewriter */
  33. UAETXTBSY = 0x2f6df19, /* Text file busy */
  34. UAEFBIG = 0x2f6df1a, /* File too large */
  35. UAENOSPC = 0x2f6df1b, /* No space left on device */
  36. UAESPIPE = 0x2f6df1c, /* Illegal seek */
  37. UAEROFS = 0x2f6df1d, /* Read-only file system */
  38. UAEMLINK = 0x2f6df1e, /* Too many links */
  39. UAEPIPE = 0x2f6df1f, /* Broken pipe */
  40. UAEDOM = 0x2f6df20, /* Math argument out of domain of func */
  41. UAERANGE = 0x2f6df21, /* Math result not representable */
  42. UAEDEADLK = 0x2f6df22, /* Resource deadlock would occur */
  43. UAENAMETOOLONG = 0x2f6df23, /* File name too long */
  44. UAENOLCK = 0x2f6df24, /* No record locks available */
  45. UAENOSYS = 0x2f6df25, /* Function not implemented */
  46. UAENOTEMPTY = 0x2f6df26, /* Directory not empty */
  47. UAELOOP = 0x2f6df27, /* Too many symbolic links encountered */
  48. UAEWOULDBLOCK = 0x2f6df28, /* Operation would block */
  49. UAENOMSG = 0x2f6df29, /* No message of desired type */
  50. UAEIDRM = 0x2f6df2a, /* Identifier removed */
  51. UAECHRNG = 0x2f6df2b, /* Channel number out of range */
  52. UAEL2NSYNC = 0x2f6df2c, /* Level 2 not synchronized */
  53. UAEL3HLT = 0x2f6df2d, /* Level 3 halted */
  54. UAEL3RST = 0x2f6df2e, /* Level 3 reset */
  55. UAELNRNG = 0x2f6df2f, /* Link number out of range */
  56. UAEUNATCH = 0x2f6df30, /* Protocol driver not attached */
  57. UAENOCSI = 0x2f6df31, /* No CSI structure available */
  58. UAEL2HLT = 0x2f6df32, /* Level 2 halted */
  59. UAEBADE = 0x2f6df33, /* Invalid exchange */
  60. UAEBADR = 0x2f6df34, /* Invalid request descriptor */
  61. UAEXFULL = 0x2f6df35, /* Exchange full */
  62. UAENOANO = 0x2f6df36, /* No anode */
  63. UAEBADRQC = 0x2f6df37, /* Invalid request code */
  64. UAEBADSLT = 0x2f6df38, /* Invalid slot */
  65. UAEBFONT = 0x2f6df39, /* Bad font file format */
  66. UAENOSTR = 0x2f6df3a, /* Device not a stream */
  67. UAENODATA = 0x2f6df3b, /* No data available */
  68. UAETIME = 0x2f6df3c, /* Timer expired */
  69. UAENOSR = 0x2f6df3d, /* Out of streams resources */
  70. UAENONET = 0x2f6df3e, /* Machine is not on the network */
  71. UAENOPKG = 0x2f6df3f, /* Package not installed */
  72. UAEREMOTE = 0x2f6df40, /* Object is remote */
  73. UAENOLINK = 0x2f6df41, /* Link has been severed */
  74. UAEADV = 0x2f6df42, /* Advertise error */
  75. UAESRMNT = 0x2f6df43, /* Srmount error */
  76. UAECOMM = 0x2f6df44, /* Communication error on send */
  77. UAEPROTO = 0x2f6df45, /* Protocol error */
  78. UAEMULTIHOP = 0x2f6df46, /* Multihop attempted */
  79. UAEDOTDOT = 0x2f6df47, /* RFS specific error */
  80. UAEBADMSG = 0x2f6df48, /* Not a data message */
  81. UAEOVERFLOW = 0x2f6df49, /* Value too large for defined data type */
  82. UAENOTUNIQ = 0x2f6df4a, /* Name not unique on network */
  83. UAEBADFD = 0x2f6df4b, /* File descriptor in bad state */
  84. UAEREMCHG = 0x2f6df4c, /* Remote address changed */
  85. UAELIBACC = 0x2f6df4d, /* Can not access a needed shared library */
  86. UAELIBBAD = 0x2f6df4e, /* Accessing a corrupted shared library */
  87. UAELIBSCN = 0x2f6df4f, /* .lib section in a.out corrupted */
  88. UAELIBMAX = 0x2f6df50, /* Attempting to link in too many shared libraries */
  89. UAELIBEXEC = 0x2f6df51, /* Cannot exec a shared library directly */
  90. UAEILSEQ = 0x2f6df52, /* Illegal byte sequence */
  91. UAERESTART = 0x2f6df53, /* Interrupted system call should be restarted */
  92. UAESTRPIPE = 0x2f6df54, /* Streams pipe error */
  93. UAEUSERS = 0x2f6df55, /* Too many users */
  94. UAENOTSOCK = 0x2f6df56, /* Socket operation on non-socket */
  95. UAEDESTADDRREQ = 0x2f6df57, /* Destination address required */
  96. UAEMSGSIZE = 0x2f6df58, /* Message too long */
  97. UAEPROTOTYPE = 0x2f6df59, /* Protocol wrong type for socket */
  98. UAENOPROTOOPT = 0x2f6df5a, /* Protocol not available */
  99. UAEPROTONOSUPPORT = 0x2f6df5b, /* Protocol not supported */
  100. UAESOCKTNOSUPPORT = 0x2f6df5c, /* Socket type not supported */
  101. UAEOPNOTSUPP = 0x2f6df5d, /* Operation not supported on transport endpoint */
  102. UAEPFNOSUPPORT = 0x2f6df5e, /* Protocol family not supported */
  103. UAEAFNOSUPPORT = 0x2f6df5f, /* Address family not supported by protocol */
  104. UAEADDRINUSE = 0x2f6df60, /* Address already in use */
  105. UAEADDRNOTAVAIL = 0x2f6df61, /* Cannot assign requested address */
  106. UAENETDOWN = 0x2f6df62, /* Network is down */
  107. UAENETUNREACH = 0x2f6df63, /* Network is unreachable */
  108. UAENETRESET = 0x2f6df64, /* Network dropped connection because of reset */
  109. UAECONNABORTED = 0x2f6df65, /* Software caused connection abort */
  110. UAECONNRESET = 0x2f6df66, /* Connection reset by peer */
  111. UAENOBUFS = 0x2f6df67, /* No buffer space available */
  112. UAEISCONN = 0x2f6df68, /* Transport endpoint is already connected */
  113. UAENOTCONN = 0x2f6df69, /* Transport endpoint is not connected */
  114. UAESHUTDOWN = 0x2f6df6a, /* Cannot send after transport endpoint shutdown */
  115. UAETOOMANYREFS = 0x2f6df6b, /* Too many references: cannot splice */
  116. UAETIMEDOUT = 0x2f6df6c, /* Connection timed out */
  117. UAECONNREFUSED = 0x2f6df6d, /* Connection refused */
  118. UAEHOSTDOWN = 0x2f6df6e, /* Host is down */
  119. UAEHOSTUNREACH = 0x2f6df6f, /* No route to host */
  120. UAEALREADY = 0x2f6df70, /* Operation already in progress */
  121. UAEINPROGRESS = 0x2f6df71, /* Operation now in progress */
  122. UAESTALE = 0x2f6df72, /* Stale NFS file handle */
  123. UAEUCLEAN = 0x2f6df73, /* Structure needs cleaning */
  124. UAENOTNAM = 0x2f6df74, /* Not a XENIX named type file */
  125. UAENAVAIL = 0x2f6df75, /* No XENIX semaphores available */
  126. UAEISNAM = 0x2f6df76, /* Is a named type file */
  127. UAEREMOTEIO = 0x2f6df77, /* Remote I/O error */
  128. UAEDQUOT = 0x2f6df78, /* Quota exceeded */
  129. UAENOMEDIUM = 0x2f6df79, /* No medium found */
  130. UAEMEDIUMTYPE = 0x2f6df7a, /* Wrong medium type */
  131. };