1 #ifndef _IPXE_ERRNO_LINUX_H 2 #define _IPXE_ERRNO_LINUX_H 21 #define PLATFORM_TO_ERRNO( platform ) ( (platform) & 0xff ) 29 #define ERRNO_TO_PLATFORM( errno ) ( (errno) & 0xff ) 32 #define PLATFORM_ENOERR 0 33 #define PLATFORM_E2BIG 7 34 #define PLATFORM_EACCES 13 35 #define PLATFORM_EADDRINUSE 98 36 #define PLATFORM_EADDRNOTAVAIL 99 37 #define PLATFORM_EAFNOSUPPORT 97 38 #define PLATFORM_EAGAIN 11 39 #define PLATFORM_EALREADY 114 40 #define PLATFORM_EBADF 9 41 #define PLATFORM_EBADMSG 74 42 #define PLATFORM_EBUSY 16 43 #define PLATFORM_ECANCELED 125 44 #define PLATFORM_ECHILD 10 45 #define PLATFORM_ECONNABORTED 103 46 #define PLATFORM_ECONNREFUSED 111 47 #define PLATFORM_ECONNRESET 104 48 #define PLATFORM_EDEADLK 35 49 #define PLATFORM_EDESTADDRREQ 89 50 #define PLATFORM_EDOM 33 51 #define PLATFORM_EDQUOT 122 52 #define PLATFORM_EEXIST 17 53 #define PLATFORM_EFAULT 14 54 #define PLATFORM_EFBIG 27 55 #define PLATFORM_EHOSTUNREACH 113 56 #define PLATFORM_EIDRM 43 57 #define PLATFORM_EILSEQ 84 58 #define PLATFORM_EINPROGRESS 115 59 #define PLATFORM_EINTR 4 60 #define PLATFORM_EINVAL 22 61 #define PLATFORM_EIO 5 62 #define PLATFORM_EISCONN 106 63 #define PLATFORM_EISDIR 21 64 #define PLATFORM_ELOOP 40 65 #define PLATFORM_EMFILE 24 66 #define PLATFORM_EMLINK 31 67 #define PLATFORM_EMSGSIZE 90 68 #define PLATFORM_EMULTIHOP 72 69 #define PLATFORM_ENAMETOOLONG 36 70 #define PLATFORM_ENETDOWN 100 71 #define PLATFORM_ENETRESET 102 72 #define PLATFORM_ENETUNREACH 101 73 #define PLATFORM_ENFILE 23 74 #define PLATFORM_ENOBUFS 105 75 #define PLATFORM_ENODATA 61 76 #define PLATFORM_ENODEV 19 77 #define PLATFORM_ENOENT 2 78 #define PLATFORM_ENOEXEC 8 79 #define PLATFORM_ENOLCK 37 80 #define PLATFORM_ENOLINK 67 81 #define PLATFORM_ENOMEM 12 82 #define PLATFORM_ENOMSG 42 83 #define PLATFORM_ENOPROTOOPT 92 84 #define PLATFORM_ENOSPC 28 85 #define PLATFORM_ENOSR 63 86 #define PLATFORM_ENOSTR 60 87 #define PLATFORM_ENOSYS 38 88 #define PLATFORM_ENOTCONN 107 89 #define PLATFORM_ENOTDIR 20 90 #define PLATFORM_ENOTEMPTY 39 91 #define PLATFORM_ENOTSOCK 88 92 #define PLATFORM_ENOTSUP PLATFORM_EOPNOTSUPP 93 #define PLATFORM_ENOTTY 25 94 #define PLATFORM_ENXIO 6 95 #define PLATFORM_EOPNOTSUPP 95 96 #define PLATFORM_EOVERFLOW 75 97 #define PLATFORM_EPERM 1 98 #define PLATFORM_EPIPE 32 99 #define PLATFORM_EPROTO 71 100 #define PLATFORM_EPROTONOSUPPORT 93 101 #define PLATFORM_EPROTOTYPE 91 102 #define PLATFORM_ERANGE 34 103 #define PLATFORM_EROFS 30 104 #define PLATFORM_ESPIPE 29 105 #define PLATFORM_ESRCH 3 106 #define PLATFORM_ESTALE 116 107 #define PLATFORM_ETIME 62 108 #define PLATFORM_ETIMEDOUT 110 109 #define PLATFORM_ETXTBSY 26 110 #define PLATFORM_EWOULDBLOCK PLATFORM_EAGAIN 111 #define PLATFORM_EXDEV 18 FILE_LICENCE(GPL2_OR_LATER)