Opaque handle to cancel "GNUNET_NAT_mini_get_external_ipv4" operation. More...
Data Fields | |
GNUNET_NAT_IPCallback | cb |
Function to call with the result. More... | |
void * | cb_cls |
Closure for cb. More... | |
struct GNUNET_SCHEDULER_Task * | task |
Read task. More... | |
struct GNUNET_OS_Process * | eip |
Handle to external-ip process. More... | |
struct GNUNET_DISK_PipeHandle * | opipe |
Handle to stdout pipe of external-ip . More... | |
const struct GNUNET_DISK_FileHandle * | r |
Read handle of opipe. More... | |
size_t | off |
Number of bytes in buf that are valid. More... | |
char | buf [17] |
Destination of our read operation (output of 'external-ip'). More... | |
enum GNUNET_NAT_StatusCode | ret |
Error code for better debugging and user feedback. More... | |
Opaque handle to cancel "GNUNET_NAT_mini_get_external_ipv4" operation.
Definition at line 57 of file gnunet-service-nat_mini.c.
GNUNET_NAT_IPCallback GNUNET_NAT_ExternalHandle::cb |
Function to call with the result.
Definition at line 62 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), read_external_ipv4(), and signal_external_ip_error().
void* GNUNET_NAT_ExternalHandle::cb_cls |
Closure for cb.
Definition at line 67 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), read_external_ipv4(), and signal_external_ip_error().
struct GNUNET_SCHEDULER_Task* GNUNET_NAT_ExternalHandle::task |
Read task.
Definition at line 72 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), GNUNET_NAT_mini_get_external_ipv4_cancel_(), read_external_ipv4(), and signal_external_ip_error().
struct GNUNET_OS_Process* GNUNET_NAT_ExternalHandle::eip |
Handle to external-ip
process.
Definition at line 77 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), and GNUNET_NAT_mini_get_external_ipv4_cancel_().
struct GNUNET_DISK_PipeHandle* GNUNET_NAT_ExternalHandle::opipe |
Handle to stdout pipe of external-ip
.
Definition at line 82 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), and GNUNET_NAT_mini_get_external_ipv4_cancel_().
const struct GNUNET_DISK_FileHandle* GNUNET_NAT_ExternalHandle::r |
Read handle of opipe.
Definition at line 87 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), and read_external_ipv4().
size_t GNUNET_NAT_ExternalHandle::off |
Number of bytes in buf that are valid.
Definition at line 92 of file gnunet-service-nat_mini.c.
Referenced by read_external_ipv4().
char GNUNET_NAT_ExternalHandle::buf[17] |
Destination of our read operation (output of 'external-ip').
Definition at line 97 of file gnunet-service-nat_mini.c.
Referenced by read_external_ipv4().
enum GNUNET_NAT_StatusCode GNUNET_NAT_ExternalHandle::ret |
Error code for better debugging and user feedback.
Definition at line 102 of file gnunet-service-nat_mini.c.
Referenced by GNUNET_NAT_mini_get_external_ipv4_(), read_external_ipv4(), and signal_external_ip_error().