GNUnet 0.21.2
GNUNET_DNSSTUB_RequestSocket Struct Reference

UDP socket we are using for sending DNS requests to the Internet. More...

Collaboration diagram for GNUNET_DNSSTUB_RequestSocket:
[legend]

Data Fields

struct GNUNET_NETWORK_Handlednsout4
 UDP socket we use for this request for IPv4. More...
 
struct GNUNET_NETWORK_Handlednsout6
 UDP socket we use for this request for IPv6. More...
 
GNUNET_DNSSTUB_ResultCallback rc
 Function to call with result. More...
 
void * rc_cls
 Closure for rc. More...
 
struct GNUNET_SCHEDULER_Taskread_task
 Task for reading from dnsout4 and dnsout6. More...
 
struct GNUNET_SCHEDULER_Taskretry_task
 Task for retrying transmission of the query. More...
 
struct DnsServerds_pos
 Next address we sent the DNS request to. More...
 
struct GNUNET_DNSSTUB_Contextctx
 Context this request executes in. More...
 
void * request
 Query we sent to addr. More...
 
size_t request_len
 Number of bytes in request. More...
 

Detailed Description

UDP socket we are using for sending DNS requests to the Internet.

Definition at line 45 of file dnsstub.c.

Field Documentation

◆ dnsout4

struct GNUNET_NETWORK_Handle* GNUNET_DNSSTUB_RequestSocket::dnsout4

UDP socket we use for this request for IPv4.

Definition at line 50 of file dnsstub.c.

Referenced by cleanup_rs(), read_response(), schedule_read(), and transmit_query().

◆ dnsout6

struct GNUNET_NETWORK_Handle* GNUNET_DNSSTUB_RequestSocket::dnsout6

UDP socket we use for this request for IPv6.

Definition at line 55 of file dnsstub.c.

Referenced by cleanup_rs(), read_response(), schedule_read(), and transmit_query().

◆ rc

GNUNET_DNSSTUB_ResultCallback GNUNET_DNSSTUB_RequestSocket::rc

Function to call with result.

Definition at line 60 of file dnsstub.c.

Referenced by do_dns_read(), get_request_socket(), GNUNET_DNSSTUB_resolve(), and GNUNET_DNSSTUB_resolve_cancel().

◆ rc_cls

void* GNUNET_DNSSTUB_RequestSocket::rc_cls

Closure for rc.

Definition at line 65 of file dnsstub.c.

Referenced by do_dns_read(), get_request_socket(), and GNUNET_DNSSTUB_resolve().

◆ read_task

struct GNUNET_SCHEDULER_Task* GNUNET_DNSSTUB_RequestSocket::read_task

Task for reading from dnsout4 and dnsout6.

Definition at line 70 of file dnsstub.c.

Referenced by cleanup_rs(), get_request_socket(), GNUNET_DNSSTUB_resolve_cancel(), read_response(), and schedule_read().

◆ retry_task

struct GNUNET_SCHEDULER_Task* GNUNET_DNSSTUB_RequestSocket::retry_task

Task for retrying transmission of the query.

Definition at line 75 of file dnsstub.c.

Referenced by cleanup_rs(), get_request_socket(), GNUNET_DNSSTUB_resolve(), GNUNET_DNSSTUB_resolve_cancel(), and transmit_query().

◆ ds_pos

struct DnsServer* GNUNET_DNSSTUB_RequestSocket::ds_pos

Next address we sent the DNS request to.

Definition at line 80 of file dnsstub.c.

Referenced by GNUNET_DNSSTUB_resolve(), and transmit_query().

◆ ctx

struct GNUNET_DNSSTUB_Context* GNUNET_DNSSTUB_RequestSocket::ctx

Context this request executes in.

Definition at line 85 of file dnsstub.c.

Referenced by do_dns_read(), get_request_socket(), and transmit_query().

◆ request

void* GNUNET_DNSSTUB_RequestSocket::request

Query we sent to addr.

Definition at line 90 of file dnsstub.c.

Referenced by cleanup_rs(), get_request_socket(), GNUNET_DNSSTUB_resolve(), and transmit_query().

◆ request_len

size_t GNUNET_DNSSTUB_RequestSocket::request_len

Number of bytes in request.

Definition at line 95 of file dnsstub.c.

Referenced by GNUNET_DNSSTUB_resolve(), and transmit_query().


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