GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
Listener Struct Reference

A listener is inhabited by a client, and waits for evaluation requests from remote peers. More...

Collaboration diagram for Listener:
[legend]

Data Fields

struct Listenernext
 Listeners are held in a doubly linked list.
 
struct Listenerprev
 Listeners are held in a doubly linked list.
 
struct Operationop_head
 Head of DLL of operations this listener is responsible for.
 
struct Operationop_tail
 Tail of DLL of operations this listener is responsible for.
 
struct ClientStatecs
 Client that owns the listener.
 
struct GNUNET_CADET_Portopen_port
 The port we are listening on with CADET.
 
struct GNUNET_HashCode app_id
 Application ID for the operation, used to distinguish multiple operations of the same type with the same peer.
 
enum GNUNET_SET_OperationType operation
 The type of the operation.
 

Detailed Description

A listener is inhabited by a client, and waits for evaluation requests from remote peers.

Definition at line 71 of file gnunet-service-set.c.

Field Documentation

◆ next

struct Listener * Listener::next

Listeners are held in a doubly linked list.

Definition at line 76 of file gnunet-service-set.c.

Referenced by get_incoming(), get_incoming(), and get_incoming().

◆ prev

struct Listener * Listener::prev

Listeners are held in a doubly linked list.

Definition at line 81 of file gnunet-service-set.c.

◆ op_head

struct Operation * Listener::op_head

Head of DLL of operations this listener is responsible for.

Once the client has accepted/declined the operation, the operation is moved to the respective set's operation DLLS.

Definition at line 88 of file gnunet-service-set.c.

Referenced by channel_new_cb(), channel_new_cb(), channel_new_cb(), client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), get_incoming(), get_incoming(), get_incoming(), handle_client_accept(), handle_client_accept(), handle_client_accept(), incoming_destroy(), incoming_destroy(), and incoming_destroy().

◆ op_tail

struct Operation * Listener::op_tail

Tail of DLL of operations this listener is responsible for.

Once the client has accepted/declined the operation, the operation is moved to the respective set's operation DLLS.

Definition at line 95 of file gnunet-service-set.c.

Referenced by channel_new_cb(), channel_new_cb(), channel_new_cb(), handle_client_accept(), handle_client_accept(), handle_client_accept(), incoming_destroy(), incoming_destroy(), and incoming_destroy().

◆ cs

struct ClientState * Listener::cs

◆ open_port

struct GNUNET_CADET_Port * Listener::open_port

◆ app_id

struct GNUNET_HashCode Listener::app_id

Application ID for the operation, used to distinguish multiple operations of the same type with the same peer.

Definition at line 112 of file gnunet-service-set.c.

Referenced by handle_client_listen(), handle_client_listen(), handle_client_listen(), handle_client_reject(), handle_client_reject(), and handle_client_reject().

◆ operation

enum GNUNET_SET_OperationType Listener::operation

The type of the operation.

Definition at line 117 of file gnunet-service-set.c.

Referenced by check_incoming_msg(), and handle_client_listen().


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