Information of the connection with peer. More...
Data Fields | |
ngtcp2_conn * | conn |
The QUIC connection. More... | |
nghttp3_conn * | h3_conn |
The HTTP/3 connection. More... | |
ngtcp2_ccerr | last_error |
The connection error. More... | |
ngtcp2_crypto_conn_ref | conn_ref |
The structure to get a pointer to ngtcp2_conn. More... | |
gnutls_session_t | session |
The gnutls session. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | streams |
Information of the stream. More... | |
struct sockaddr * | address |
Address of the other peer. More... | |
socklen_t | address_len |
Length of the address. More... | |
struct GNUNET_PeerIdentity | target |
To whom are we talking to. More... | |
enum GNUNET_NetworkType | nt |
Which network type does this queue use? More... | |
struct GNUNET_TIME_Absolute | timeout |
Timeout for this connection. More... | |
int | is_initiator |
Flag to indicate if we are the initiator of the connection. More... | |
int | id_rcvd |
Flag to indicate whether we know the PeerIdentity (target) yet. More... | |
int | id_sent |
Flag to indicate whether we have sent OUR PeerIdentity to this peer. More... | |
size_t | d_mtu |
MTU we allowed transport for this receiver's default queue. More... | |
struct GNUNET_MQ_Handle * | d_mq |
Default message queue we are providing for the ch. More... | |
struct GNUNET_TRANSPORT_QueueHandle * | d_qh |
handle for default queue with the ch. More... | |
char * | foreign_addr |
Address of the receiver in the human-readable format with the COMMUNICATOR_ADDRESS_PREFIX. More... | |
int | connection_destroy_called |
connection_destroy already called on connection. More... | |
struct GNUNET_SCHEDULER_Task * | timer |
The timer of this connection. More... | |
uint8_t * | conn_closebuf |
conn_closebuf contains a packet which contains CONNECTION_CLOSE. More... | |
ngtcp2_ssize | conn_closebuflen |
The length of conn_closebuf;. More... | |
struct HTTP_Message * | msg_queue_head |
head pointer of message queue. More... | |
struct HTTP_Message * | msg_queue_rear |
rear pointer of message queue. More... | |
size_t | msg_queue_len |
length of message queue. More... | |
struct HTTP_Message * | submitted_msg_queue_head |
Messages that have been submitted will be put into this queue. More... | |
struct Long_Poll_Request * | long_poll_head |
head pointer of long polling struct queue. More... | |
struct Long_Poll_Request * | long_poll_rear |
rear pointer of long polling struct queue. More... | |
size_t | long_poll_len |
length of long polling struct queue. More... | |
Information of the connection with peer.
Definition at line 257 of file gnunet-communicator-http3.c.
ngtcp2_conn* Connection::conn |
The QUIC connection.
Definition at line 262 of file gnunet-communicator-http3.c.
Referenced by client_quic_init(), close_waitcb(), connection_destroy(), connection_feed_data(), connection_init(), connection_update_timer(), connection_write(), connection_write_streams(), get_new_connection_id_cb(), handle_error(), handle_expiry(), http_consume(), http_end_stream_cb(), http_reset_stream_cb(), http_stop_sending_cb(), http_stream_close_cb(), long_poll_timeoutcb(), mq_init(), mq_send_d(), server_read_pkt(), setup_httpconn(), start_closing_period(), start_draining_period(), and stream_close_cb().
nghttp3_conn* Connection::h3_conn |
The HTTP/3 connection.
Definition at line 267 of file gnunet-communicator-http3.c.
Referenced by acked_stream_data_offset_cb(), connection_destroy(), connection_write_streams(), extend_max_remote_streams_bidi_cb(), extend_max_stream_data_cb(), http_begin_headers_cb(), long_poll_timeoutcb(), recv_stream_data_cb(), setup_httpconn(), stream_close_cb(), stream_reset_cb(), stream_send_data(), stream_start_response(), stream_stop_sending_cb(), submit_get_request(), and submit_post_request().
ngtcp2_ccerr Connection::last_error |
The connection error.
Definition at line 272 of file gnunet-communicator-http3.c.
Referenced by connection_feed_data(), connection_write_streams(), handle_error(), handle_expiry(), recv_stream_data_cb(), start_closing_period(), and stream_close_cb().
ngtcp2_crypto_conn_ref Connection::conn_ref |
The structure to get a pointer to ngtcp2_conn.
Definition at line 277 of file gnunet-communicator-http3.c.
Referenced by client_gnutls_init(), client_quic_init(), and connection_init().
gnutls_session_t Connection::session |
The gnutls session.
Definition at line 282 of file gnunet-communicator-http3.c.
Referenced by client_gnutls_init(), client_quic_init(), connection_destroy(), connection_init(), and mq_init().
struct GNUNET_CONTAINER_MultiHashMap* Connection::streams |
Information of the stream.
Definition at line 286 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), connection_init(), create_stream(), find_stream(), mq_init(), and remove_stream().
struct sockaddr* Connection::address |
Address of the other peer.
Definition at line 291 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), connection_init(), mq_init(), send_packet(), setup_connection_mq(), submit_get_request(), and submit_post_request().
socklen_t Connection::address_len |
Length of the address.
Definition at line 296 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), connection_init(), mq_init(), send_packet(), submit_get_request(), and submit_post_request().
struct GNUNET_PeerIdentity Connection::target |
To whom are we talking to.
Definition at line 301 of file gnunet-communicator-http3.c.
Referenced by http_recv_data_cb(), mq_error(), mq_init(), and setup_connection_mq().
enum GNUNET_NetworkType Connection::nt |
Which network type does this queue use?
Definition at line 306 of file gnunet-communicator-http3.c.
Referenced by mq_init(), and setup_connection_mq().
struct GNUNET_TIME_Absolute Connection::timeout |
Timeout for this connection.
Definition at line 311 of file gnunet-communicator-http3.c.
Referenced by mq_init(), and reschedule_peer_timeout().
int Connection::is_initiator |
Flag to indicate if we are the initiator of the connection.
Definition at line 316 of file gnunet-communicator-http3.c.
Referenced by connection_feed_data(), connection_init(), connection_write(), handle_error(), http_end_stream_cb(), http_recv_data_cb(), http_recv_header_cb(), http_stream_close_cb(), mq_init(), mq_send_d(), recv_rx_key_cb(), recv_stream_data_cb(), setup_connection_mq(), setup_httpconn(), sock_read(), start_closing_period(), stream_close_cb(), and timeoutcb().
int Connection::id_rcvd |
Flag to indicate whether we know the PeerIdentity (target) yet.
Definition at line 321 of file gnunet-communicator-http3.c.
Referenced by connection_init(), http_recv_data_cb(), and mq_init().
int Connection::id_sent |
Flag to indicate whether we have sent OUR PeerIdentity to this peer.
Definition at line 326 of file gnunet-communicator-http3.c.
Referenced by connection_init(), mq_init(), and recv_rx_key_cb().
size_t Connection::d_mtu |
MTU we allowed transport for this receiver's default queue.
Definition at line 331 of file gnunet-communicator-http3.c.
Referenced by mq_send_d(), and setup_connection_mq().
struct GNUNET_MQ_Handle* Connection::d_mq |
Default message queue we are providing for the ch.
Definition at line 336 of file gnunet-communicator-http3.c.
Referenced by mq_destroy_d(), mq_send_d(), and setup_connection_mq().
struct GNUNET_TRANSPORT_QueueHandle* Connection::d_qh |
handle for default queue with the ch.
Definition at line 341 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), and setup_connection_mq().
char* Connection::foreign_addr |
Address of the receiver in the human-readable format with the COMMUNICATOR_ADDRESS_PREFIX.
Definition at line 347 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), connection_init(), mq_init(), and setup_connection_mq().
int Connection::connection_destroy_called |
connection_destroy already called on connection.
Definition at line 352 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), mq_destroy_d(), and mq_send_d().
struct GNUNET_SCHEDULER_Task* Connection::timer |
The timer of this connection.
Definition at line 357 of file gnunet-communicator-http3.c.
Referenced by close_waitcb(), connection_update_timer(), start_closing_period(), start_draining_period(), and timeoutcb().
uint8_t* Connection::conn_closebuf |
conn_closebuf contains a packet which contains CONNECTION_CLOSE.
Definition at line 362 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), send_conn_close(), and start_closing_period().
ngtcp2_ssize Connection::conn_closebuflen |
The length of conn_closebuf;.
Definition at line 367 of file gnunet-communicator-http3.c.
Referenced by send_conn_close(), and start_closing_period().
struct HTTP_Message* Connection::msg_queue_head |
head pointer of message queue.
Definition at line 372 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), mq_send_d(), and stream_start_response().
struct HTTP_Message* Connection::msg_queue_rear |
rear pointer of message queue.
Definition at line 377 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), and mq_send_d().
size_t Connection::msg_queue_len |
length of message queue.
Definition at line 382 of file gnunet-communicator-http3.c.
Referenced by mq_send_d(), and stream_start_response().
struct HTTP_Message* Connection::submitted_msg_queue_head |
Messages that have been submitted will be put into this queue.
Definition at line 387 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), mq_send_d(), and stream_start_response().
struct Long_Poll_Request* Connection::long_poll_head |
head pointer of long polling struct queue.
Definition at line 392 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), http_end_stream_cb(), long_poll_timeoutcb(), mq_send_d(), recv_rx_key_cb(), and stream_start_response().
struct Long_Poll_Request* Connection::long_poll_rear |
rear pointer of long polling struct queue.
Definition at line 397 of file gnunet-communicator-http3.c.
Referenced by connection_destroy(), long_poll_timeoutcb(), recv_rx_key_cb(), and stream_start_response().
size_t Connection::long_poll_len |
length of long polling struct queue.
Definition at line 402 of file gnunet-communicator-http3.c.
Referenced by mq_send_d(), and stream_start_response().