From 0b7db1a4555da3f9a153d72f44bc2a5d070df51f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 11 Jan 2018 18:03:58 +0100 Subject: fe310 platform introdiced --- code/core/fe310/transport.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 code/core/fe310/transport.h (limited to 'code/core/fe310/transport.h') 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 + +#define ECP_IPv4_ADDR_SIZE 4 + +typedef int ECPNetSock; +typedef struct ECPNetAddr { + unsigned char host[ECP_IPv4_ADDR_SIZE]; + uint16_t port; +} ECPNetAddr; + -- cgit v1.2.3