Data Fields
tor_addr_t Struct Reference

#include <address.h>

Data Fields

sa_family_t family
union {
   uint32_t   dummy_
   struct in_addr   in_addr
   struct in6_addr   in6_addr

Detailed Description

Holds an IPv4 or IPv6 address. (Uses less memory than struct sockaddr_storage.)

Definition at line 68 of file address.h.

Field Documentation

◆ dummy_

uint32_t dummy_

Definition at line 72 of file address.h.

◆ family

sa_family_t family

Definition at line 70 of file address.h.

◆ in6_addr

Definition at line 75 of file address.h.

◆ in_addr

struct in_addr in_addr

Definition at line 74 of file address.h.

The documentation for this struct was generated from the following file: