aboutsummaryrefslogtreecommitdiff
path: root/src/core/network/network.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-03-02 17:08:47 -0800
committerGitHub <noreply@github.com>2021-03-02 17:08:47 -0800
commitf8bfec31095b8ccc7883dbff49472f6c0ce2dec8 (patch)
tree0c3fe3ba20f294d1fac2c89019204eec528c57f4 /src/core/network/network.h
parent4a45012f354e974ec578d0f66752c87bdea10e36 (diff)
parent2910aa77b2feea39fc0618598e275b138a346e71 (diff)
Merge pull request #5815 from comex/net-error-reform
Network error handling reform
Diffstat (limited to 'src/core/network/network.h')
-rw-r--r--src/core/network/network.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/network/network.h b/src/core/network/network.h
index 76b2821f2..bd30f1899 100644
--- a/src/core/network/network.h
+++ b/src/core/network/network.h
@@ -7,6 +7,7 @@
#include <array>
#include <utility>
+#include "common/common_funcs.h"
#include "common/common_types.h"
namespace Network {
@@ -21,6 +22,11 @@ enum class Errno {
MFILE,
NOTCONN,
AGAIN,
+ CONNREFUSED,
+ HOSTUNREACH,
+ NETDOWN,
+ NETUNREACH,
+ OTHER,
};
/// Address families