GNUnet  0.11.x
Data Fields
SocketAddress Struct Reference

Information about an address. More...

Data Fields

int af
 AF_INET or AF_INET6. More...
union {
   struct in_addr   ipv4
 Address, if af is AF_INET. More...
   struct in6_addr   ipv6
 Address, if af is AF_INET6. More...
 Remote address information. More...
uint8_t proto
uint16_t port
 Remote port, in host byte order! More...

Detailed Description

Information about an address.

Definition at line 95 of file gnunet-daemon-exit.c.

Field Documentation

◆ af

int SocketAddress::af

◆ ipv4

struct in_addr SocketAddress::ipv4

◆ ipv6

struct in6_addr SocketAddress::ipv6

◆ address

union { ... } SocketAddress::address

◆ proto

uint8_t SocketAddress::proto

◆ port

uint16_t SocketAddress::port

Remote port, in host byte order!

Definition at line 126 of file gnunet-daemon-exit.c.

Referenced by add_services(), get_redirect_state(), hash_redirect_info(), prepare_ipv4_packet(), prepare_ipv6_packet(), and setup_fresh_address().

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