mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-19 05:15:03 +08:00
feat(esp8266): Change ip_addr/ip_addr_t to ip4_addr/ip4_addr_t
This commit is contained in:
@ -87,8 +87,8 @@ enum dhcp_status {
|
|||||||
|
|
||||||
struct dhcps_lease {
|
struct dhcps_lease {
|
||||||
bool enable; /**< enable DHCP lease or not */
|
bool enable; /**< enable DHCP lease or not */
|
||||||
struct ip_addr start_ip; /**< start IP of IP range */
|
struct ip4_addr start_ip; /**< start IP of IP range */
|
||||||
struct ip_addr end_ip; /**< end IP of IP range */
|
struct ip4_addr end_ip; /**< end IP of IP range */
|
||||||
};
|
};
|
||||||
|
|
||||||
enum dhcps_offer_option {
|
enum dhcps_offer_option {
|
||||||
|
@ -63,7 +63,7 @@ struct station_info {
|
|||||||
STAILQ_ENTRY(station_info) next; /**< Information of next AP */
|
STAILQ_ENTRY(station_info) next; /**< Information of next AP */
|
||||||
|
|
||||||
uint8 bssid[6]; /**< BSSID of AP */
|
uint8 bssid[6]; /**< BSSID of AP */
|
||||||
struct ip_addr ip; /**< IP address of AP */
|
struct ip4_addr ip; /**< IP address of AP */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -142,9 +142,9 @@ typedef enum {
|
|||||||
} WIFI_INTERFACE;
|
} WIFI_INTERFACE;
|
||||||
|
|
||||||
struct ip_info {
|
struct ip_info {
|
||||||
struct ip_addr ip; /**< IP address */
|
struct ip4_addr ip; /**< IP address */
|
||||||
struct ip_addr netmask; /**< netmask */
|
struct ip4_addr netmask; /**< netmask */
|
||||||
struct ip_addr gw; /**< gateway */
|
struct ip4_addr gw; /**< gateway */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -327,9 +327,9 @@ typedef struct {
|
|||||||
} Event_StaMode_AuthMode_Change_t;
|
} Event_StaMode_AuthMode_Change_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct ip_addr ip; /**< IP address that ESP8266 station got from connected AP */
|
struct ip4_addr ip; /**< IP address that ESP8266 station got from connected AP */
|
||||||
struct ip_addr mask; /**< netmask that ESP8266 station got from connected AP */
|
struct ip4_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 gw; /**< gateway that ESP8266 station got from connected AP */
|
||||||
} Event_StaMode_Got_IP_t;
|
} Event_StaMode_Got_IP_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Reference in New Issue
Block a user