GNUnet  0.18.1
ProtoQueue Struct Reference

Handle for an incoming connection where we do not yet have enough information to setup a full queue. More...

Collaboration diagram for ProtoQueue:
[legend]

Data Fields

struct ProtoQueuenext
 Kept in a DLL. More...
 
struct ProtoQueueprev
 Kept in a DLL. More...
 
struct GNUNET_NETWORK_Handlelisten_sock
 Listen socket. More...
 
struct GNUNET_NETWORK_Handlesock
 socket that we transmit all data with on this queue More...
 
struct GNUNET_SCHEDULER_Taskread_task
 ID of read task for this connection. More...
 
struct sockaddr * address
 Address of the other peer. More...
 
socklen_t address_len
 Length of the address. More...
 
struct GNUNET_TIME_Absolute timeout
 Timeout for this protoqueue. More...
 
char ibuf [(sizeof(struct GNUNET_CRYPTO_EcdhePublicKey)+sizeof(struct TCPConfirmation))]
 Buffer for reading all the information we need to upgrade from protoqueue to queue. More...
 
size_t ibuf_off
 Current offset for reading into ibuf. More...
 

Detailed Description

Handle for an incoming connection where we do not yet have enough information to setup a full queue.

Definition at line 633 of file gnunet-communicator-tcp.c.

Field Documentation

◆ next

struct ProtoQueue* ProtoQueue::next

Kept in a DLL.

Definition at line 638 of file gnunet-communicator-tcp.c.

◆ prev

struct ProtoQueue* ProtoQueue::prev

Kept in a DLL.

Definition at line 643 of file gnunet-communicator-tcp.c.

◆ listen_sock

struct GNUNET_NETWORK_Handle* ProtoQueue::listen_sock

Listen socket.

Definition at line 648 of file gnunet-communicator-tcp.c.

Referenced by free_proto_queue(), and proto_read_kx().

◆ sock

struct GNUNET_NETWORK_Handle* ProtoQueue::sock

socket that we transmit all data with on this queue

Definition at line 653 of file gnunet-communicator-tcp.c.

Referenced by free_proto_queue(), listen_cb(), and proto_read_kx().

◆ read_task

struct GNUNET_SCHEDULER_Task* ProtoQueue::read_task

ID of read task for this connection.

Definition at line 658 of file gnunet-communicator-tcp.c.

Referenced by listen_cb(), and proto_read_kx().

◆ address

struct sockaddr* ProtoQueue::address

Address of the other peer.

Definition at line 663 of file gnunet-communicator-tcp.c.

Referenced by free_proto_queue(), listen_cb(), and proto_read_kx().

◆ address_len

socklen_t ProtoQueue::address_len

Length of the address.

Definition at line 668 of file gnunet-communicator-tcp.c.

Referenced by listen_cb(), and proto_read_kx().

◆ timeout

struct GNUNET_TIME_Absolute ProtoQueue::timeout

Timeout for this protoqueue.

Definition at line 668 of file gnunet-communicator-tcp.c.

Referenced by listen_cb(), and proto_read_kx().

◆ ibuf

char ProtoQueue::ibuf[(sizeof(struct GNUNET_CRYPTO_EcdhePublicKey)+sizeof(struct TCPConfirmation))]

Buffer for reading all the information we need to upgrade from protoqueue to queue.

Definition at line 679 of file gnunet-communicator-tcp.c.

Referenced by proto_read_kx().

◆ ibuf_off

size_t ProtoQueue::ibuf_off

Current offset for reading into ibuf.

Definition at line 684 of file gnunet-communicator-tcp.c.

Referenced by proto_read_kx().


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