diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-10-19 19:37:03 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-19 19:37:03 +0200 |
commit | 84735c23109b77e0691da208d31c374aa943b257 (patch) | |
tree | 2ff1430be30807c326c3b8274b0d0c0db7e802a2 /code/ecp/fe310/transport.h | |
parent | 3a5f92b720afcb4adac61174dbefefd420aa5319 (diff) |
fixed transport interface; risc-v transport updated to support eos sock interface
Diffstat (limited to 'code/ecp/fe310/transport.h')
-rw-r--r-- | code/ecp/fe310/transport.h | 9 |
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; |