summaryrefslogtreecommitdiff
path: root/code/core/fe310/transport.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:58 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:58 +0100
commit0b7db1a4555da3f9a153d72f44bc2a5d070df51f (patch)
treeb2459ed047653d8295472bdc58123c2c7145d828 /code/core/fe310/transport.h
parentdea99b85dc52341265ae2e8463afee8a9709127a (diff)
fe310 platform introdiced
Diffstat (limited to 'code/core/fe310/transport.h')
-rw-r--r--code/core/fe310/transport.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/code/core/fe310/transport.h b/code/core/fe310/transport.h
new file mode 100644
index 0000000..c35e13e
--- /dev/null
+++ b/code/core/fe310/transport.h
@@ -0,0 +1,10 @@
+#include <stdint.h>
+
+#define ECP_IPv4_ADDR_SIZE 4
+
+typedef int ECPNetSock;
+typedef struct ECPNetAddr {
+ unsigned char host[ECP_IPv4_ADDR_SIZE];
+ uint16_t port;
+} ECPNetAddr;
+