Home
last modified time | relevance | path

Searched refs:ip_info (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-latest/components/esp_netif/loopback/
Desp_netif_loopback.c43 esp_netif_ip_info_t* ip_info; member
119 if (cfg->base->ip_info == NULL) { in esp_netif_init_configuration()
120 esp_netif->ip_info->ip.addr = 0; in esp_netif_init_configuration()
121 esp_netif->ip_info->gw.addr = 0; in esp_netif_init_configuration()
122 esp_netif->ip_info->netmask.addr = 0; in esp_netif_init_configuration()
124 memcpy(esp_netif->ip_info, cfg->base->ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_init_configuration()
126 memcpy(esp_netif->ip_info_old, esp_netif->ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_init_configuration()
174 esp_netif_ip_info_t *ip_info = calloc(1, sizeof(esp_netif_ip_info_t)); in esp_netif_new() local
175 if (!ip_info) { in esp_netif_new()
179 esp_netif->ip_info = ip_info; in esp_netif_new()
[all …]
/hal_espressif-latest/components/esp_netif/lwip/
Desp_netif_lwip.c607 if (cfg->base->ip_info == NULL) { in esp_netif_init_configuration()
608 ip4_addr_set_zero(&esp_netif->ip_info->ip); in esp_netif_init_configuration()
609 ip4_addr_set_zero(&esp_netif->ip_info->gw); in esp_netif_init_configuration()
610 ip4_addr_set_zero(&esp_netif->ip_info->netmask); in esp_netif_init_configuration()
612 memcpy(esp_netif->ip_info, cfg->base->ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_init_configuration()
614 memcpy(esp_netif->ip_info_old, esp_netif->ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_init_configuration()
730 esp_netif_ip_info_t *ip_info = calloc(1, sizeof(esp_netif_ip_info_t)); in esp_netif_new() local
731 if (!ip_info) { in esp_netif_new()
737 esp_netif->ip_info = ip_info; in esp_netif_new()
740 ip_info = calloc(1, sizeof(esp_netif_ip_info_t)); in esp_netif_new()
[all …]
Desp_netif_lwip_internal.h74 esp_netif_ip_info_t* ip_info; member
/hal_espressif-latest/components/esp_netif/include/
Desp_netif_defaults.h43 ESP_COMPILER_DESIGNATED_INIT_AGGREGATE_TYPE_EMPTY(ip_info) \
57 .ip_info = &_g_esp_netif_soft_ap_ip, \
71 ESP_COMPILER_DESIGNATED_INIT_AGGREGATE_TYPE_EMPTY(ip_info) \
83 ESP_COMPILER_DESIGNATED_INIT_AGGREGATE_TYPE_EMPTY(ip_info) \
97 ESP_COMPILER_DESIGNATED_INIT_AGGREGATE_TYPE_EMPTY(ip_info) \
114 ESP_COMPILER_DESIGNATED_INIT_AGGREGATE_TYPE_EMPTY(ip_info) \
Desp_netif.h436 esp_err_t esp_netif_get_ip_info(esp_netif_t *esp_netif, esp_netif_ip_info_t *ip_info);
453 esp_err_t esp_netif_get_old_ip_info(esp_netif_t *esp_netif, esp_netif_ip_info_t *ip_info);
477 esp_err_t esp_netif_set_ip_info(esp_netif_t *esp_netif, const esp_netif_ip_info_t *ip_info);
496 esp_err_t esp_netif_set_old_ip_info(esp_netif_t *esp_netif, const esp_netif_ip_info_t *ip_info);
Desp_netif_types.h130 esp_netif_ip_info_t ip_info; /*!< IP address, netmask, gatway IP address */ member
193 const esp_netif_ip_info_t* ip_info; /*!< initial ip address for this interface */ member
/hal_espressif-latest/components/esp_netif/
Desp_netif_handlers.c68 memcpy(&evt.ip_info, &ip, sizeof(esp_netif_ip_info_t)); in esp_netif_action_connected()
94 IP2STR(&event->ip_info.ip), in esp_netif_action_got_ip()
95 IP2STR(&event->ip_info.netmask), in esp_netif_action_got_ip()
96 IP2STR(&event->ip_info.gw)); in esp_netif_action_got_ip()
/hal_espressif-latest/components/esp_netif/private_include/
Desp_netif_private.h82 bool esp_netif_is_valid_static_ip(esp_netif_ip_info_t *ip_info);