GNUnet  0.11.x
Data Fields
AddressLookupMessage Struct Reference

Message from the library to the transport service asking for converting a transport address to a human-readable UTF-8 string. More...

#include </home/handbook/gnunet/src/transport/transport.h>

Collaboration diagram for AddressLookupMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING. More...
 
int16_t numeric_only
 Should the conversion use numeric IP addresses (otherwise a reverse DNS lookup is OK – if applicable). More...
 
uint16_t addrlen
 Length of the (binary) address in bytes, in big-endian. More...
 
struct GNUNET_TIME_RelativeNBO timeout
 timeout to give up (for DNS resolution timeout mostly) More...
 

Detailed Description

Message from the library to the transport service asking for converting a transport address to a human-readable UTF-8 string.

Definition at line 348 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader AddressLookupMessage::header

Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING.

Definition at line 353 of file transport.h.

Referenced by check_client_address_to_string().

◆ numeric_only

int16_t AddressLookupMessage::numeric_only

Should the conversion use numeric IP addresses (otherwise a reverse DNS lookup is OK – if applicable).

Definition at line 359 of file transport.h.

Referenced by GNUNET_TRANSPORT_address_to_string(), and handle_client_address_to_string().

◆ addrlen

uint16_t AddressLookupMessage::addrlen

Length of the (binary) address in bytes, in big-endian.

Definition at line 364 of file transport.h.

Referenced by check_client_address_to_string(), GNUNET_TRANSPORT_address_to_string(), and handle_client_address_to_string().

◆ timeout

struct GNUNET_TIME_RelativeNBO AddressLookupMessage::timeout

timeout to give up (for DNS resolution timeout mostly)

Definition at line 369 of file transport.h.

Referenced by GNUNET_TRANSPORT_address_to_string(), and handle_client_address_to_string().


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