customized SNICInterface
Fork of NySNICInterface by
Diff: SNIC/SNIC_Core.h
- Revision:
- 31:15c22824cc46
- Parent:
- 29:6a0ba999597d
- Child:
- 32:ae95309643aa
diff -r 944b8c04b5ff -r 15c22824cc46 SNIC/SNIC_Core.h --- a/SNIC/SNIC_Core.h Tue May 27 01:33:04 2014 +0000 +++ b/SNIC/SNIC_Core.h Thu May 29 03:23:21 2014 +0000 @@ -109,6 +109,27 @@ unsigned char buf_size[2]; }tagSNIC_INIT_REQ_T; + /** SNIC_IP_CONFIG_REQ */ + typedef struct + { + unsigned char cmd_sid; + unsigned char seq; + unsigned char interface; + unsigned char dhcp; + }tagSNIC_IP_CONFIG_REQ_DHCP_T; + + /** SNIC_IP_CONFIG_REQ */ + typedef struct + { + unsigned char cmd_sid; + unsigned char seq; + unsigned char interface; + unsigned char dhcp; + unsigned char ip_addr[4]; + unsigned char netmask[4]; + unsigned char gateway[4]; + }tagSNIC_IP_CONFIG_REQ_STATIC_T; + /** SNIC_TCP_CREATE_SOCKET_REQ */ typedef struct {