feat(esp8266): Change ip_addr/ip_addr_t to ip4_addr/ip4_addr_t

This commit is contained in:
Zhang Jun Hao
2018-05-01 13:26:52 +08:00
parent 8f93ab7629
commit 57880c7a41
3 changed files with 9 additions and 9 deletions

View File

@ -142,9 +142,9 @@ typedef enum {
} WIFI_INTERFACE;
struct ip_info {
struct ip_addr ip; /**< IP address */
struct ip_addr netmask; /**< netmask */
struct ip_addr gw; /**< gateway */
struct ip4_addr ip; /**< IP address */
struct ip4_addr netmask; /**< netmask */
struct ip4_addr gw; /**< gateway */
};
/**
@ -327,9 +327,9 @@ typedef struct {
} Event_StaMode_AuthMode_Change_t;
typedef struct {
struct ip_addr ip; /**< IP address that ESP8266 station got from connected AP */
struct ip_addr mask; /**< netmask that ESP8266 station got from connected AP */
struct ip_addr gw; /**< gateway that ESP8266 station got from connected AP */
struct ip4_addr ip; /**< IP address that ESP8266 station got from connected AP */
struct ip4_addr mask; /**< netmask that ESP8266 station got from connected AP */
struct ip4_addr gw; /**< gateway that ESP8266 station got from connected AP */
} Event_StaMode_Got_IP_t;
typedef struct {