GNUnet 0.21.1
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...
 
address
 Remote address information. More...
 
uint8_t proto
 IPPROTO_TCP or IPPROTO_UDP;. More...
 
uint16_t port
 Remote port, in host byte order! More...
 

Detailed Description

Information about an address.

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

Field Documentation

◆ af

◆ ipv4

struct in_addr SocketAddress::ipv4

◆ ipv6

struct in6_addr SocketAddress::ipv6

◆ 

union { ... } SocketAddress::address

◆ proto

uint8_t SocketAddress::proto

IPPROTO_TCP or IPPROTO_UDP;.

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

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

◆ port

uint16_t SocketAddress::port

Remote port, in host byte order!

Definition at line 123 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: