From: Alan Cox Date: Thu, 25 Feb 2016 21:53:35 +0000 (+0000) Subject: kernel: more error numbers needed X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7723d6f693e5d066b8ec5b8ad2da44eea64288ae;p=FUZIX.git kernel: more error numbers needed --- diff --git a/Kernel/include/kernel.h b/Kernel/include/kernel.h index 94983e44..b3da3598 100644 --- a/Kernel/include/kernel.h +++ b/Kernel/include/kernel.h @@ -572,6 +572,15 @@ struct s_argblk { #define ENETDOWN 46 /* Network is down */ #define EMSGSIZE 47 /* Message too long */ +#define ETIMEDOUT 48 /* Connection timed out */ +#define ECONNREFUSED 49 /* Connection refused */ +#define EHOSTUNREACH 50 /* No route to host */ +#define EHOSTDOWN 51 /* Host is down */ +#define ENETUNREACH 52 /* Network is unreachable */ +#define ENOTCONN 53 /* Transport endpoint is not connected */ +#define EINPROGRESS 54 /* Operation now in progress */ +#define ESHUTDOWN 55 /* Cannot send after transport endpoint shutdown */ + /* * ioctls for kernel internal operations start at 0x8000 and cannot be issued * by userspace.