diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-10-19 19:40:16 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-19 19:40:16 +0200 |
commit | 97968cb17dee6d1d0e68149fe2fb71362cdc5851 (patch) | |
tree | 595b760f7487e22fdecf633e4da009e5b2343b6f /code/fe310/eos/net_def.h | |
parent | 84735c23109b77e0691da208d31c374aa943b257 (diff) |
network sockets added
Diffstat (limited to 'code/fe310/eos/net_def.h')
-rw-r--r-- | code/fe310/eos/net_def.h | 14 |
1 files changed, 8 insertions, 6 deletions
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 |