GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
SocketAddress Struct Reference

Information about an address. More...

Data Fields

int af
 AF_INET or AF_INET6.
 
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.
 
uint8_t proto
 IPPROTO_TCP or IPPROTO_UDP;.
 
uint16_t port
 Remote port, in host byte order!
 

Detailed Description

Information about an address.

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

Field Documentation

◆ af

◆ ipv4

struct in_addr SocketAddress::ipv4

Address, if af is AF_INET.

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

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

◆ ipv6

struct in6_addr SocketAddress::ipv6

Address, if af is AF_INET6.

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

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

◆ [union]

union { ... } SocketAddress::address

Remote address information.

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

◆ proto

uint8_t SocketAddress::proto

IPPROTO_TCP or IPPROTO_UDP;.

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