Handle for an incoming connection where we do not yet have enough information to setup a full queue. More...
Data Fields | |
struct ProtoQueue * | next |
Kept in a DLL. More... | |
struct ProtoQueue * | prev |
Kept in a DLL. More... | |
struct GNUNET_NETWORK_Handle * | listen_sock |
Listen socket. More... | |
struct GNUNET_NETWORK_Handle * | sock |
socket that we transmit all data with on this queue More... | |
struct GNUNET_SCHEDULER_Task * | write_task |
ID of write task for this connection. More... | |
char | write_buf [sizeof(struct TCPNATProbeMessage)] |
buffer for writing struct TCPNATProbeMessage to network. More... | |
size_t | write_off |
Offset of the buffer? More... | |
struct GNUNET_SCHEDULER_Task * | read_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... | |
Handle for an incoming connection where we do not yet have enough information to setup a full queue.
Definition at line 692 of file gnunet-communicator-tcp.c.
struct ProtoQueue* ProtoQueue::next |
Kept in a DLL.
Definition at line 697 of file gnunet-communicator-tcp.c.
struct ProtoQueue* ProtoQueue::prev |
Kept in a DLL.
Definition at line 702 of file gnunet-communicator-tcp.c.
struct GNUNET_NETWORK_Handle* ProtoQueue::listen_sock |
Listen socket.
Definition at line 707 of file gnunet-communicator-tcp.c.
Referenced by free_proto_queue(), and proto_read_kx().
struct GNUNET_NETWORK_Handle* ProtoQueue::sock |
socket that we transmit all data with on this queue
Definition at line 712 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), free_proto_queue(), proto_queue_write(), proto_read_kx(), and try_connection_reversal().
struct GNUNET_SCHEDULER_Task* ProtoQueue::write_task |
ID of write task for this connection.
Definition at line 717 of file gnunet-communicator-tcp.c.
Referenced by free_proto_queue(), proto_queue_write(), and try_connection_reversal().
char ProtoQueue::write_buf[sizeof(struct TCPNATProbeMessage)] |
buffer for writing struct TCPNATProbeMessage to network.
Definition at line 722 of file gnunet-communicator-tcp.c.
Referenced by proto_queue_write(), and try_connection_reversal().
size_t ProtoQueue::write_off |
Offset of the buffer?
Definition at line 727 of file gnunet-communicator-tcp.c.
Referenced by proto_queue_write(), and try_connection_reversal().
struct GNUNET_SCHEDULER_Task* ProtoQueue::read_task |
ID of read task for this connection.
Definition at line 732 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), free_proto_queue(), and proto_read_kx().
struct sockaddr* ProtoQueue::address |
Address of the other peer.
Definition at line 737 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), free_proto_queue(), and proto_read_kx().
socklen_t ProtoQueue::address_len |
Length of the address.
Definition at line 742 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), and proto_read_kx().
struct GNUNET_TIME_Absolute ProtoQueue::timeout |
Timeout for this protoqueue.
Definition at line 747 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), and proto_read_kx().
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 753 of file gnunet-communicator-tcp.c.
Referenced by proto_read_kx().
size_t ProtoQueue::ibuf_off |
Current offset for reading into ibuf.
Definition at line 758 of file gnunet-communicator-tcp.c.
Referenced by proto_read_kx().