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

Detailed Description

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

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

Field Documentation

◆ target

struct GNUNET_PeerIdentity SenderAddress::target

To whom are we talking to.

Definition at line 502 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 507 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 512 of file gnunet-communicator-udp.c.

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

◆ ss_tail

struct SharedSecret* SenderAddress::ss_tail

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

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

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

◆ address

struct sockaddr* SenderAddress::address

Address of the other peer.

Definition at line 522 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 527 of file gnunet-communicator-udp.c.

Referenced by setup_sender().

◆ key

struct GNUNET_HashCode SenderAddress::key

◆ timeout

struct GNUNET_TIME_Absolute SenderAddress::timeout

Timeout for this sender.

Definition at line 537 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 542 of file gnunet-communicator-udp.c.

Referenced by secret_destroy(), sock_read(), 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 548 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 553 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 558 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 563 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 568 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 573 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: