From 1b8532039dde7a36e75659cccce7697cfd3715cb Mon Sep 17 00:00:00 2001 From: Ned Konz Date: Mon, 12 Jun 2023 07:30:59 -0700 Subject: [PATCH] errno: Add missing error definitions. Several error codes issued by lwip and other libraries were missing from errno/errno.py. This commit adds these codes. Signed-off-by: Ned Konz --- python-stdlib/errno/errno.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python-stdlib/errno/errno.py b/python-stdlib/errno/errno.py index 05441b69c..f357adb8a 100644 --- a/python-stdlib/errno/errno.py +++ b/python-stdlib/errno/errno.py @@ -32,7 +32,15 @@ EPIPE = 32 # Broken pipe EDOM = 33 # Math argument out of domain of func ERANGE = 34 # Math result not representable +ENOSYS = 38 # Function not implemented +EMSGSIZE = 90 # Message too long +ENOPROTOOPT = 92 # Protocol not available +EOPNOTSUPP = 95 # Operation not supported on transport endpoint EAFNOSUPPORT = 97 # Address family not supported by protocol +EADDRNOTAVAIL = 99 # Cannot assign requested address ECONNRESET = 104 # Connection timed out +ENOBUFS = 105 # No buffer space available +ENOTCONN = 107 # Transport endpoint is not connected ETIMEDOUT = 110 # Connection timed out +EHOSTUNREACH = 113 # No route to host EINPROGRESS = 115 # Operation now in progress