GNUnet  0.11.x
Data Fields
LocalService Struct Reference

This struct is saved into the services-hashmap to represent a service this peer is specifically offering an exit for (for a specific domain name). More...

Collaboration diagram for LocalService:
[legend]

Data Fields

struct SocketAddress address
 Remote address to use for the service. More...
 
struct GNUNET_HashCode descriptor
 Descriptor for the service (CADET port). More...
 
char * name
 DNS name of the service. More...
 
struct GNUNET_CADET_Portport
 Open port with CADET. More...
 
int16_t is_udp
 GNUNET_YES if this is a UDP service, otherwise TCP. More...
 

Detailed Description

This struct is saved into the services-hashmap to represent a service this peer is specifically offering an exit for (for a specific domain name).

Definition at line 135 of file gnunet-daemon-exit.c.

Field Documentation

◆ address

struct SocketAddress LocalService::address

Remote address to use for the service.

Definition at line 140 of file gnunet-daemon-exit.c.

Referenced by add_services(), and new_service_channel().

◆ descriptor

struct GNUNET_HashCode LocalService::descriptor

Descriptor for the service (CADET port).

Definition at line 145 of file gnunet-daemon-exit.c.

Referenced by store_service().

◆ name

char* LocalService::name

DNS name of the service.

Definition at line 150 of file gnunet-daemon-exit.c.

Referenced by free_service_record(), and store_service().

◆ port

struct GNUNET_CADET_Port* LocalService::port

Open port with CADET.

Definition at line 155 of file gnunet-daemon-exit.c.

Referenced by free_service_record(), and store_service().

◆ is_udp

int16_t LocalService::is_udp

GNUNET_YES if this is a UDP service, otherwise TCP.

Definition at line 160 of file gnunet-daemon-exit.c.

Referenced by store_service().


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