summaryrefslogtreecommitdiff
path: root/code/ecp/fe310/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/ecp/fe310/transport.h')
-rw-r--r--code/ecp/fe310/transport.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/code/ecp/fe310/transport.h b/code/ecp/fe310/transport.h
index c35e13e..0fcf43b 100644
--- a/code/ecp/fe310/transport.h
+++ b/code/ecp/fe310/transport.h
@@ -1,10 +1,5 @@
-#include <stdint.h>
-
-#define ECP_IPv4_ADDR_SIZE 4
+#include <eos/sock.h>
+typedef EOSNetAddr ECPNetAddr;
typedef int ECPNetSock;
-typedef struct ECPNetAddr {
- unsigned char host[ECP_IPv4_ADDR_SIZE];
- uint16_t port;
-} ECPNetAddr;