|
ESPHome 2026.8.0-dev
|
#include <ip_address.h>
Public Member Functions | |
| IPAddress () | |
| IPAddress (const std::string &in_address) | |
| IPAddress (const struct in6_addr *other_ip) | |
| IPAddress (const struct sockaddr_in6 *addr) | |
| operator struct in6_addr () const | |
| bool | is_set () const |
| bool | is_ip4 () const |
| bool | is_ip6 () const |
| bool | is_multicast () const |
| char * | str_to (char *buf) const |
| bool | operator== (const IPAddress &other) const |
| bool | operator!= (const IPAddress &other) const |
| IPAddress () | |
| IPAddress (uint8_t first, uint8_t second, uint8_t third, uint8_t fourth) | |
| IPAddress (const char *in_address) | |
| IPAddress (const std::string &in_address) | |
| IPAddress (const ip_addr_t *other_ip) | |
| IPAddress (ip4_addr_t *other_ip) | |
| IPAddress (ip6_addr_t *other_ip) | |
| operator ip_addr_t () const | |
| bool | is_set () const |
| bool | is_ip4 () const |
| bool | is_ip6 () const |
| bool | is_multicast () const |
| ESPDEPRECATED ("str() is deprecated: use 'char buf[IP_ADDRESS_BUFFER_SIZE]; ip.str_to(buf);' instead. Removed in 2026.8.0", "2026.2.0") std | |
| IPAddress () | |
| IPAddress (uint8_t first, uint8_t second, uint8_t third, uint8_t fourth) | |
| IPAddress (const std::string &in_address) | |
| IPAddress (const ip_addr_t *other_ip) | |
| char * | str_to (char *buf) const |
| Write IP address to buffer. Buffer must be at least IP_ADDRESS_BUFFER_SIZE bytes. | |
| IPAddress () | |
| IPAddress (uint8_t first, uint8_t second, uint8_t third, uint8_t fourth) | |
| IPAddress (const ip_addr_t *other_ip) | |
| IPAddress (const char *in_address) | |
| IPAddress (const std::string &in_address) | |
| IPAddress (ip4_addr_t *other_ip) | |
| IPAddress (const arduino_ns::IPAddress &other_ip) | |
| IPAddress (ip6_addr_t *other_ip) | |
| IPAddress (esp_ip6_addr_t *other_ip) | |
| IPAddress (esp_ip4_addr_t *other_ip) | |
| IPAddress (esp_ip_addr_t *other_ip) | |
| operator esp_ip_addr_t () const | |
| operator esp_ip4_addr_t () const | |
| operator ip_addr_t () const | |
| operator ip4_addr_t () const | |
| operator arduino_ns::IPAddress () const | |
| bool | is_set () const |
| bool | is_ip4 () const |
| bool | is_ip6 () const |
| bool | is_multicast () const |
| char * | str_to (char *buf) const |
| Write IP address to buffer. | |
| bool | operator== (const IPAddress &other) const |
| bool | operator!= (const IPAddress &other) const |
| IPAddress & | operator+= (uint8_t increase) |
Protected Attributes | |
| ip_addr_t | ip_addr_ |
Definition at line 87 of file ip_address.h.
|
inline |
Definition at line 90 of file ip_address.h.
|
inline |
Definition at line 91 of file ip_address.h.
|
inline |
Definition at line 92 of file ip_address.h.
|
inline |
Definition at line 93 of file ip_address.h.
|
inline |
Definition at line 111 of file ip_address.h.
|
inline |
Definition at line 112 of file ip_address.h.
|
inline |
Definition at line 118 of file ip_address.h.
|
inline |
Definition at line 122 of file ip_address.h.
|
inline |
Definition at line 123 of file ip_address.h.
|
inline |
Definition at line 124 of file ip_address.h.
|
inline |
Definition at line 129 of file ip_address.h.
|
inline |
Definition at line 185 of file ip_address.h.
|
inline |
Definition at line 186 of file ip_address.h.
|
inline |
Definition at line 189 of file ip_address.h.
|
inline |
Definition at line 190 of file ip_address.h.
|
inline |
Definition at line 198 of file ip_address.h.
|
inline |
Definition at line 199 of file ip_address.h.
|
inline |
Definition at line 202 of file ip_address.h.
|
inline |
Definition at line 203 of file ip_address.h.
|
inline |
Definition at line 204 of file ip_address.h.
|
inline |
Definition at line 205 of file ip_address.h.
|
inline |
Definition at line 212 of file ip_address.h.
|
inline |
Definition at line 215 of file ip_address.h.
|
inline |
Definition at line 223 of file ip_address.h.
|
inline |
Definition at line 228 of file ip_address.h.
|
inline |
Definition at line 234 of file ip_address.h.
|
inline |
Definition at line 151 of file ip_address.h.
|
inline |
Definition at line 98 of file ip_address.h.
|
inline |
Definition at line 142 of file ip_address.h.
|
inline |
Definition at line 271 of file ip_address.h.
|
inline |
Definition at line 99 of file ip_address.h.
|
inline |
Definition at line 143 of file ip_address.h.
|
inline |
Definition at line 272 of file ip_address.h.
|
inline |
Definition at line 100 of file ip_address.h.
|
inline |
Definition at line 144 of file ip_address.h.
|
inline |
Definition at line 273 of file ip_address.h.
|
inline |
Definition at line 97 of file ip_address.h.
|
inline |
Definition at line 135 of file ip_address.h.
|
inline |
Definition at line 270 of file ip_address.h.
|
inline |
Definition at line 267 of file ip_address.h.
|
inline |
Definition at line 250 of file ip_address.h.
|
inline |
Definition at line 241 of file ip_address.h.
|
inline |
Definition at line 263 of file ip_address.h.
|
inline |
Definition at line 134 of file ip_address.h.
|
inline |
Definition at line 261 of file ip_address.h.
|
inline |
Definition at line 95 of file ip_address.h.
|
inline |
Definition at line 107 of file ip_address.h.
|
inline |
Definition at line 282 of file ip_address.h.
|
inline |
Definition at line 283 of file ip_address.h.
|
inline |
Definition at line 106 of file ip_address.h.
|
inline |
Definition at line 281 of file ip_address.h.
|
inline |
Definition at line 101 of file ip_address.h.
|
inline |
Write IP address to buffer. Buffer must be at least IP_ADDRESS_BUFFER_SIZE bytes.
Definition at line 192 of file ip_address.h.
|
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 276 of file ip_address.h.
|
protected |
Definition at line 296 of file ip_address.h.