From 97968cb17dee6d1d0e68149fe2fb71362cdc5851 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 19 Oct 2019 19:40:16 +0200 Subject: network sockets added --- code/fe310/eos/net_def.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'code/fe310/eos/net_def.h') diff --git a/code/fe310/eos/net_def.h b/code/fe310/eos/net_def.h index 87e3fbe..473714c 100644 --- a/code/fe310/eos/net_def.h +++ b/code/fe310/eos/net_def.h @@ -4,10 +4,12 @@ #define NET_PIN_RTS 20 #define NET_PIN_CTS 22 -#define NET_FLAG_RUN 0x01 -#define NET_FLAG_RST 0x02 -#define NET_FLAG_RTS 0x04 -#define NET_FLAG_CTS 0x08 -#define NET_FLAG_INIT 0x10 -#define NET_FLAG_ONEW 0x20 +#define NET_STATE_FLAG_RUN 0x01 +#define NET_STATE_FLAG_RST 0x02 +#define NET_STATE_FLAG_RTS 0x04 +#define NET_STATE_FLAG_CTS 0x08 +#define NET_STATE_FLAG_INIT 0x10 +#define NET_STATE_FLAG_ONEW 0x20 + +#define NET_MTYPE_FLAG_ONEW 0x10 -- cgit v1.2.3