ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
ip_address.h File Reference

Go to the source code of this file.

Data Structures

struct  ip_addr_t
 
struct  esphome::network::IPAddress
 

Namespaces

namespace  esphome
 
namespace  esphome::network
 

Typedefs

using ip4_addr_t = struct in_addr
 
using ip6_addr_t = struct in6_addr
 
using ip_addr_t = in_addr
 
using esphome::network::IPAddresses = std::array<IPAddress, 5>
 

Enumerations

enum  : uint8_t { IPADDR_TYPE_V4 = 0 , IPADDR_TYPE_V6 = 6 }
 

Functions

void esphome::network::lowercase_ip_str (char *buf)
 Lowercase hex digits in IP address string (A-F -> a-f for IPv6 per RFC 5952)
 

Typedef Documentation

◆ ip4_addr_t

typedef in_addr ip4_addr_t = struct in_addr

Definition at line 23 of file ip_address.h.

◆ ip6_addr_t

using ip6_addr_t = struct in6_addr

Definition at line 24 of file ip_address.h.

◆ ip_addr_t

typedef struct in6_addr ip_addr_t = in_addr

Definition at line 48 of file ip_address.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint8_t
Enumerator
IPADDR_TYPE_V4 
IPADDR_TYPE_V6 

Definition at line 32 of file ip_address.h.