27#if defined(USE_ESP32) && USE_NETWORK_IPV6
55#if defined(USE_OPENTHREAD) && !defined(USE_OPENTHREAD_BORDER_ROUTER)
72static constexpr size_t USE_ADDRESS_BUFFER_SIZE = 70;
EthernetComponent * global_eth_component
ModemComponent * global_modem_component
std::array< IPAddress, 5 > IPAddresses
void fill_ip6_addresses(esp_netif_t *netif, IPAddresses &addresses)
Copies the IPv6 addresses of an esp_netif into addresses[1..], warning once when some do not fit.
ESPHOME_ALWAYS_INLINE bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
const char * get_use_address_to(std::span< char, USE_ADDRESS_BUFFER_SIZE > buf)
Get the active network address for logging.
network::IPAddresses get_ip_addresses()
bool is_disabled()
Return whether the network is disabled: every configured interface with a disable() lifecycle (modem,...
OpenThreadComponent * global_openthread_component
WiFiComponent * global_wifi_component
struct esp_netif_obj esp_netif_t