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! | ||
Information about an address.
Definition at line 91 of file gnunet-daemon-exit.c.
int SocketAddress::af |
AF_INET or AF_INET6.
Definition at line 96 of file gnunet-daemon-exit.c.
Referenced by add_services(), get_redirect_state(), hash_redirect_info(), send_icmp_packet_via_tun(), send_tcp_packet_via_tun(), send_udp_packet_via_tun(), and setup_fresh_address().
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().
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 { ... } SocketAddress::address |
Remote address information.
Referenced by add_services(), get_redirect_state(), hash_redirect_info(), and setup_fresh_address().
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().
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().