#include <ip_address.h>
Definition at line 60 of file ip_address.h.
◆ IPAddress() [1/17]
| esphome::network::IPAddress::IPAddress |
( |
| ) |
|
|
inline |
◆ IPAddress() [2/17]
| esphome::network::IPAddress::IPAddress |
( |
const std::string & | in_address | ) |
|
|
inline |
◆ IPAddress() [3/17]
| esphome::network::IPAddress::IPAddress |
( |
const struct in6_addr * | other_ip | ) |
|
|
inline |
◆ IPAddress() [4/17]
| esphome::network::IPAddress::IPAddress |
( |
const struct sockaddr_in6 * | addr | ) |
|
|
inline |
◆ IPAddress() [5/17]
| esphome::network::IPAddress::IPAddress |
( |
uint8_t | first, |
|
|
uint8_t | second, |
|
|
uint8_t | third, |
|
|
uint8_t | fourth ) |
|
inline |
◆ IPAddress() [6/17]
| esphome::network::IPAddress::IPAddress |
( |
const std::string & | in_address | ) |
|
|
inline |
◆ IPAddress() [7/17]
| esphome::network::IPAddress::IPAddress |
( |
const ip_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [8/17]
| esphome::network::IPAddress::IPAddress |
( |
uint8_t | first, |
|
|
uint8_t | second, |
|
|
uint8_t | third, |
|
|
uint8_t | fourth ) |
|
inline |
◆ IPAddress() [9/17]
| esphome::network::IPAddress::IPAddress |
( |
const ip_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [10/17]
| esphome::network::IPAddress::IPAddress |
( |
const char * | in_address | ) |
|
|
inline |
◆ IPAddress() [11/17]
| esphome::network::IPAddress::IPAddress |
( |
const std::string & | in_address | ) |
|
|
inline |
◆ IPAddress() [12/17]
| esphome::network::IPAddress::IPAddress |
( |
ip4_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [13/17]
| esphome::network::IPAddress::IPAddress |
( |
const arduino_ns::IPAddress & | other_ip | ) |
|
|
inline |
◆ IPAddress() [14/17]
| esphome::network::IPAddress::IPAddress |
( |
ip6_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [15/17]
| esphome::network::IPAddress::IPAddress |
( |
esp_ip6_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [16/17]
| esphome::network::IPAddress::IPAddress |
( |
esp_ip4_addr_t * | other_ip | ) |
|
|
inline |
◆ IPAddress() [17/17]
| esphome::network::IPAddress::IPAddress |
( |
esp_ip_addr_t * | other_ip | ) |
|
|
inline |
◆ ESPDEPRECATED() [1/3]
| esphome::network::IPAddress::ESPDEPRECATED |
( |
"str() is deprecated: use 'char buf; ip.str_to(buf);' instead. Removed in 2026.8.0" | [IP_ADDRESS_BUFFER_SIZE], |
|
|
"2026.2.0" | ) |
|
inline |
◆ ESPDEPRECATED() [2/3]
| esphome::network::IPAddress::ESPDEPRECATED |
( |
"str() is deprecated: use 'char buf; ip.str_to(buf);' instead. Removed in 2026.8.0" | [IP_ADDRESS_BUFFER_SIZE], |
|
|
"2026.2.0" | ) |
|
inline |
◆ ESPDEPRECATED() [3/3]
| esphome::network::IPAddress::ESPDEPRECATED |
( |
"str() is deprecated: use 'char buf; ip.str_to(buf);' instead. Removed in 2026.8.0" | [IP_ADDRESS_BUFFER_SIZE], |
|
|
"2026.2.0" | ) |
|
inline |
Write IP address to buffer.
Buffer must be at least IP_ADDRESS_BUFFER_SIZE bytes. Output is lowercased per RFC 5952 (IPv6 hex digits a-f).
Definition at line 190 of file ip_address.h.
◆ is_ip4() [1/2]
| bool esphome::network::IPAddress::is_ip4 |
( |
| ) |
const |
|
inline |
◆ is_ip4() [2/2]
| bool esphome::network::IPAddress::is_ip4 |
( |
| ) |
const |
|
inline |
◆ is_ip6() [1/2]
| bool esphome::network::IPAddress::is_ip6 |
( |
| ) |
const |
|
inline |
◆ is_ip6() [2/2]
| bool esphome::network::IPAddress::is_ip6 |
( |
| ) |
const |
|
inline |
◆ is_multicast() [1/2]
| bool esphome::network::IPAddress::is_multicast |
( |
| ) |
const |
|
inline |
◆ is_multicast() [2/2]
| bool esphome::network::IPAddress::is_multicast |
( |
| ) |
const |
|
inline |
◆ is_set() [1/2]
| bool esphome::network::IPAddress::is_set |
( |
| ) |
const |
|
inline |
◆ is_set() [2/2]
| bool esphome::network::IPAddress::is_set |
( |
| ) |
const |
|
inline |
◆ operator arduino_ns::IPAddress()
| esphome::network::IPAddress::operator arduino_ns::IPAddress |
( |
| ) |
const |
|
inline |
◆ operator esp_ip4_addr_t()
| esphome::network::IPAddress::operator esp_ip4_addr_t |
( |
| ) |
const |
|
inline |
◆ operator esp_ip_addr_t()
| esphome::network::IPAddress::operator esp_ip_addr_t |
( |
| ) |
const |
|
inline |
◆ operator ip4_addr_t()
| esphome::network::IPAddress::operator ip4_addr_t |
( |
| ) |
const |
|
inline |
◆ operator ip_addr_t()
| esphome::network::IPAddress::operator ip_addr_t |
( |
| ) |
const |
|
inline |
◆ operator struct in6_addr()
| esphome::network::IPAddress::operator struct in6_addr |
( |
| ) |
const |
|
inline |
◆ ip_addr_
| ip_addr_t esphome::network::IPAddress::ip_addr_ |
|
protected |
The documentation for this struct was generated from the following file: