Request for the resolver. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/lib/util/resolver.h>
Data Fields | |
struct GNUNET_MessageHeader | header |
Type: GNUNET_MESSAGE_TYPE_RESOLVER_REQUEST. More... | |
int32_t | direction |
GNUNET_YES to get hostname from IP, GNUNET_NO to get IP from hostname. More... | |
int32_t | af |
Address family to use (AF_INET, AF_INET6 or AF_UNSPEC). More... | |
uint32_t | client_id |
identifies the request and is contained in the response message. More... | |
Request for the resolver.
Followed by either the "struct sockaddr" or the 0-terminated hostname.
The response will be one or more messages of type RESOLVER_RESPONSE, each with the message header immediately followed by the requested data (0-terminated hostname or struct in[6]_addr, depending on direction). The last RESOLVER_RESPONSE will just be a header without any data (used to indicate the end of the list).
Definition at line 43 of file resolver.h.
struct GNUNET_MessageHeader GNUNET_RESOLVER_GetMessage::header |
Type: GNUNET_MESSAGE_TYPE_RESOLVER_REQUEST.
Definition at line 48 of file resolver.h.
int32_t GNUNET_RESOLVER_GetMessage::direction |
GNUNET_YES to get hostname from IP, GNUNET_NO to get IP from hostname.
Definition at line 54 of file resolver.h.
int32_t GNUNET_RESOLVER_GetMessage::af |
Address family to use (AF_INET, AF_INET6 or AF_UNSPEC).
Definition at line 59 of file resolver.h.
uint32_t GNUNET_RESOLVER_GetMessage::client_id |
identifies the request and is contained in the response message.
The client has to match response to request by this identifier.
Definition at line 65 of file resolver.h.