GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
SenderAddress Struct Reference

Information we track per sender address we have recently been in contact with (we decrypt messages from the sender). More...

Collaboration diagram for SenderAddress:
[legend]

Data Fields

struct GNUNET_PeerIdentity target
 To whom are we talking to.
 
struct GNUNET_CONTAINER_HeapNodehn
 Entry in sender expiration heap.
 
struct SharedSecretss_head
 Shared secrets we used with target, first used is head.
 
struct SharedSecretss_tail
 Shared secrets we used with target, last used is tail.
 
struct sockaddr * address
 Address of the other peer.
 
socklen_t address_len
 Length of the address.
 
struct GNUNET_HashCode key
 The address key for this entry.
 
struct GNUNET_TIME_Absolute timeout
 Timeout for this sender.
 
unsigned int num_secrets
 Length of the DLL at ss_head.
 
unsigned int acks_available
 Number of BOX keys from ACKs we have currently available for this sender.
 
enum GNUNET_NetworkType nt
 Which network type does this queue use?
 
int sender_destroy_called
 sender_destroy already called on sender.
 
struct GNUNET_SCHEDULER_Taskkce_task
 ID of kce working queue task.
 
int kce_task_finished
 Is the kce_task finished?
 
int kce_send_ack_on_finish
 When KCE finishes, send ACK if GNUNET_YES.
 

Detailed Description

Information we track per sender address we have recently been in contact with (we decrypt messages from the sender).

Definition at line 501 of file gnunet-communicator-udp.c.

Field Documentation

◆ target

struct GNUNET_PeerIdentity SenderAddress::target

To whom are we talking to.

Definition at line 506 of file gnunet-communicator-udp.c.

Referenced by consider_ss_ack(), get_sender_delete_it(), pass_plaintext_to_core(), and setup_sender().

◆ hn

struct GNUNET_CONTAINER_HeapNode* SenderAddress::hn

Entry in sender expiration heap.

Definition at line 511 of file gnunet-communicator-udp.c.

Referenced by reschedule_sender_timeout(), sender_destroy(), and setup_sender().

◆ ss_head

struct SharedSecret* SenderAddress::ss_head

Shared secrets we used with target, first used is head.

Definition at line 516 of file gnunet-communicator-udp.c.

Referenced by secret_destroy(), sender_destroy(), and try_handle_plaintext().

◆ ss_tail

struct SharedSecret* SenderAddress::ss_tail

Shared secrets we used with target, last used is tail.

Definition at line 521 of file gnunet-communicator-udp.c.

Referenced by decrypt_box(), secret_destroy(), and try_handle_plaintext().

◆ address

struct sockaddr* SenderAddress::address

Address of the other peer.

Definition at line 526 of file gnunet-communicator-udp.c.

Referenced by sender_destroy(), and setup_sender().

◆ address_len

socklen_t SenderAddress::address_len

Length of the address.

Definition at line 531 of file gnunet-communicator-udp.c.

Referenced by setup_sender().

◆ key

struct GNUNET_HashCode SenderAddress::key

The address key for this entry.

Definition at line 536 of file gnunet-communicator-udp.c.

Referenced by sender_destroy(), setup_sender(), and try_handle_plaintext().

◆ timeout

struct GNUNET_TIME_Absolute SenderAddress::timeout

Timeout for this sender.

Definition at line 541 of file gnunet-communicator-udp.c.

Referenced by check_timeouts(), reschedule_sender_timeout(), and setup_sender().

◆ num_secrets

unsigned int SenderAddress::num_secrets

Length of the DLL at ss_head.

Definition at line 546 of file gnunet-communicator-udp.c.

Referenced by secret_destroy(), and try_handle_plaintext().

◆ acks_available

unsigned int SenderAddress::acks_available

Number of BOX keys from ACKs we have currently available for this sender.

Definition at line 552 of file gnunet-communicator-udp.c.

Referenced by consider_ss_ack(), decrypt_box(), kce_generate(), kce_generate_cb(), secret_destroy(), sock_read(), and try_handle_plaintext().

◆ nt

enum GNUNET_NetworkType SenderAddress::nt

Which network type does this queue use?

Definition at line 557 of file gnunet-communicator-udp.c.

Referenced by setup_sender().

◆ sender_destroy_called

int SenderAddress::sender_destroy_called

sender_destroy already called on sender.

Definition at line 562 of file gnunet-communicator-udp.c.

Referenced by check_timeouts(), and sender_destroy().

◆ kce_task

struct GNUNET_SCHEDULER_Task* SenderAddress::kce_task

ID of kce working queue task.

Definition at line 567 of file gnunet-communicator-udp.c.

Referenced by decrypt_box(), kce_generate_cb(), secret_destroy(), and sock_read().

◆ kce_task_finished

int SenderAddress::kce_task_finished

Is the kce_task finished?

Definition at line 572 of file gnunet-communicator-udp.c.

Referenced by decrypt_box(), kce_generate_cb(), and sock_read().

◆ kce_send_ack_on_finish

int SenderAddress::kce_send_ack_on_finish

When KCE finishes, send ACK if GNUNET_YES.

Definition at line 577 of file gnunet-communicator-udp.c.

Referenced by decrypt_box(), kce_generate_cb(), sock_read(), and try_handle_plaintext().


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