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. | |
struct ProtoQueue * | prev |
Kept in a DLL. | |
struct GNUNET_NETWORK_Handle * | listen_sock |
Listen socket. | |
struct GNUNET_NETWORK_Handle * | sock |
socket that we transmit all data with on this queue | |
struct GNUNET_SCHEDULER_Task * | write_task |
ID of write task for this connection. | |
char | write_buf [sizeof(struct TCPNATProbeMessage)] |
buffer for writing struct TCPNATProbeMessage to network. | |
size_t | write_off |
Offset of the buffer? | |
struct GNUNET_SCHEDULER_Task * | read_task |
ID of read task for this connection. | |
struct sockaddr * | address |
Address of the other peer. | |
socklen_t | address_len |
Length of the address. | |
struct GNUNET_TIME_Absolute | timeout |
Timeout for this protoqueue. | |
char | ibuf [(sizeof(struct GNUNET_CRYPTO_EcdhePublicKey)+sizeof(struct TCPConfirmation))] |
Buffer for reading all the information we need to upgrade from protoqueue to queue. | |
size_t | ibuf_off |
Current offset for reading into ibuf. | |
Handle for an incoming connection where we do not yet have enough information to setup a full queue.
Definition at line 696 of file gnunet-communicator-tcp.c.
struct ProtoQueue* ProtoQueue::next |
Kept in a DLL.
Definition at line 701 of file gnunet-communicator-tcp.c.
struct ProtoQueue* ProtoQueue::prev |
Kept in a DLL.
Definition at line 706 of file gnunet-communicator-tcp.c.
struct GNUNET_NETWORK_Handle* ProtoQueue::listen_sock |
Listen socket.
Definition at line 711 of file gnunet-communicator-tcp.c.
Referenced by free_proto_queue(), free_proto_queue(), proto_read_kx(), and proto_read_kx().
struct GNUNET_NETWORK_Handle* ProtoQueue::sock |
socket that we transmit all data with on this queue
Definition at line 716 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), create_proto_queue(), free_proto_queue(), free_proto_queue(), proto_queue_write(), proto_queue_write(), proto_read_kx(), proto_read_kx(), and try_connection_reversal().
struct GNUNET_SCHEDULER_Task* ProtoQueue::write_task |
ID of write task for this connection.
Definition at line 721 of file gnunet-communicator-tcp.c.
Referenced by free_proto_queue(), free_proto_queue(), proto_queue_write(), proto_queue_write(), and try_connection_reversal().
char ProtoQueue::write_buf[sizeof(struct TCPNATProbeMessage)] |
buffer for writing struct TCPNATProbeMessage to network.
Definition at line 726 of file gnunet-communicator-tcp.c.
Referenced by proto_queue_write(), proto_queue_write(), and try_connection_reversal().
size_t ProtoQueue::write_off |
Offset of the buffer?
Definition at line 731 of file gnunet-communicator-tcp.c.
Referenced by proto_queue_write(), proto_queue_write(), and try_connection_reversal().
struct GNUNET_SCHEDULER_Task* ProtoQueue::read_task |
ID of read task for this connection.
Definition at line 736 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), create_proto_queue(), free_proto_queue(), free_proto_queue(), proto_read_kx(), and proto_read_kx().
struct sockaddr* ProtoQueue::address |
Address of the other peer.
Definition at line 741 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), create_proto_queue(), free_proto_queue(), free_proto_queue(), proto_read_kx(), and proto_read_kx().
socklen_t ProtoQueue::address_len |
Length of the address.
Definition at line 746 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), create_proto_queue(), proto_read_kx(), and proto_read_kx().
struct GNUNET_TIME_Absolute ProtoQueue::timeout |
Timeout for this protoqueue.
Definition at line 751 of file gnunet-communicator-tcp.c.
Referenced by create_proto_queue(), create_proto_queue(), proto_read_kx(), 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 757 of file gnunet-communicator-tcp.c.
Referenced by proto_read_kx(), and proto_read_kx().
size_t ProtoQueue::ibuf_off |
Current offset for reading into ibuf.
Definition at line 762 of file gnunet-communicator-tcp.c.
Referenced by proto_read_kx(), and proto_read_kx().