Information we track per peer we have recently been in contact with. More...
Data Fields | |
struct GNUNET_PeerIdentity | target |
To whom are we talking to. 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... | |
int | is_receiver |
Flag to indicate if we are the initiator of the connection. More... | |
char * | foreign_addr |
Address of the receiver in the human-readable format with the COMMUNICATOR_ADDRESS_PREFIX. More... | |
struct sockaddr * | address |
Address of the other peer. More... | |
socklen_t | address_len |
Length of the address. More... | |
struct quic_conn * | conn |
The QUIC connection associated with this peer. 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... | |
struct GNUNET_TIME_Absolute | timeout |
Timeout for this peer address. More... | |
size_t | d_mtu |
MTU we allowed transport for this peer's default queue. More... | |
enum GNUNET_NetworkType | nt |
Which network type does this queue use? More... | |
int | peer_destroy_called |
receiver_destroy already called on receiver. More... | |
Information we track per peer we have recently been in contact with.
(Since quiche handles crypto, handshakes, etc. we don't differentiate between SenderAddress and ReceiverAddress) FIXME: But we do a handshake as well. The flag in this struct seems to indicate this. Update comment!
Definition at line 148 of file gnunet-communicator-quic.c.
struct GNUNET_PeerIdentity PeerAddress::target |
To whom are we talking to.
Definition at line 153 of file gnunet-communicator-quic.c.
Referenced by mq_error(), mq_init(), peer_destroy(), recv_from_streams(), and setup_peer_mq().
int PeerAddress::id_rcvd |
Flag to indicate whether we know the PeerIdentity (target) yet.
Definition at line 158 of file gnunet-communicator-quic.c.
Referenced by mq_init(), recv_from_streams(), and sock_read().
int PeerAddress::id_sent |
Flag to indicate whether we have sent OUR PeerIdentity to this peer.
Definition at line 163 of file gnunet-communicator-quic.c.
Referenced by sock_read().
int PeerAddress::is_receiver |
Flag to indicate if we are the initiator of the connection.
Definition at line 168 of file gnunet-communicator-quic.c.
Referenced by mq_init(), recv_from_streams(), and sock_read().
char* PeerAddress::foreign_addr |
Address of the receiver in the human-readable format with the COMMUNICATOR_ADDRESS_PREFIX.
Definition at line 174 of file gnunet-communicator-quic.c.
Referenced by mq_init(), peer_destroy(), setup_peer_mq(), and sock_read().
struct sockaddr* PeerAddress::address |
Address of the other peer.
Definition at line 179 of file gnunet-communicator-quic.c.
Referenced by mq_init(), peer_destroy(), setup_peer_mq(), and sock_read().
socklen_t PeerAddress::address_len |
Length of the address.
Definition at line 184 of file gnunet-communicator-quic.c.
Referenced by mq_init(), peer_destroy(), and sock_read().
struct quic_conn* PeerAddress::conn |
The QUIC connection associated with this peer.
Definition at line 189 of file gnunet-communicator-quic.c.
Referenced by mq_init(), mq_send_d(), peer_destroy(), recv_from_streams(), and sock_read().
struct GNUNET_MQ_Handle* PeerAddress::d_mq |
Default message queue we are providing for the ch.
Definition at line 194 of file gnunet-communicator-quic.c.
Referenced by mq_destroy_d(), mq_send_d(), and setup_peer_mq().
struct GNUNET_TRANSPORT_QueueHandle* PeerAddress::d_qh |
handle for default queue with the ch.
Definition at line 199 of file gnunet-communicator-quic.c.
Referenced by peer_destroy(), and setup_peer_mq().
struct GNUNET_TIME_Absolute PeerAddress::timeout |
Timeout for this peer address.
Definition at line 204 of file gnunet-communicator-quic.c.
Referenced by mq_init(), and reschedule_peer_timeout().
size_t PeerAddress::d_mtu |
MTU we allowed transport for this peer's default queue.
FIXME: MTU from quiche
Definition at line 210 of file gnunet-communicator-quic.c.
Referenced by mq_send_d(), and setup_peer_mq().
enum GNUNET_NetworkType PeerAddress::nt |
Which network type does this queue use?
Definition at line 215 of file gnunet-communicator-quic.c.
Referenced by mq_init(), and setup_peer_mq().
int PeerAddress::peer_destroy_called |
receiver_destroy already called on receiver.
Definition at line 220 of file gnunet-communicator-quic.c.
Referenced by mq_destroy_d(), mq_send_d(), and peer_destroy().