GNUnet  0.11.x
Data Fields
DefragContext Struct Reference

Data structure to track defragmentation contexts based on the source of the UDP traffic. More...

Collaboration diagram for DefragContext:
[legend]

Data Fields

struct GNUNET_DEFRAGMENT_Contextdefrag
 Defragmentation context. More...
 
struct Pluginplugin
 Reference to master plugin struct. More...
 
struct GNUNET_CONTAINER_HeapNodehnode
 Node in the defrag heap. More...
 
const union UdpAddressudp_addr
 Source address this receive context is for (allocated at the end of the struct). More...
 
struct GNUNET_PeerIdentity sender
 Who's message(s) are we defragmenting here? Only initialized once we succeeded and have_sender is set. More...
 
size_t udp_addr_len
 Length of udp_addr. More...
 
enum GNUNET_NetworkType network_type
 Network type the address belongs to. More...
 
int have_sender
 Has the sender field been initialized yet? More...
 

Detailed Description

Data structure to track defragmentation contexts based on the source of the UDP traffic.

Definition at line 254 of file plugin_transport_udp.c.

Field Documentation

◆ defrag

struct GNUNET_DEFRAGMENT_Context* DefragContext::defrag

Defragmentation context.

Definition at line 259 of file plugin_transport_udp.c.

Referenced by ack_proc(), heap_cleanup_iterator(), read_process_fragment(), and udp_disconnect_session().

◆ plugin

struct Plugin* DefragContext::plugin

Reference to master plugin struct.

Definition at line 264 of file plugin_transport_udp.c.

Referenced by ack_proc(), fragment_msg_proc(), and read_process_fragment().

◆ hnode

struct GNUNET_CONTAINER_HeapNode* DefragContext::hnode

Node in the defrag heap.

Definition at line 269 of file plugin_transport_udp.c.

Referenced by ack_proc(), read_process_fragment(), and udp_disconnect_session().

◆ udp_addr

const union UdpAddress* DefragContext::udp_addr

Source address this receive context is for (allocated at the end of the struct).

Definition at line 275 of file plugin_transport_udp.c.

Referenced by ack_proc(), find_receive_context(), fragment_msg_proc(), and read_process_fragment().

◆ sender

struct GNUNET_PeerIdentity DefragContext::sender

Who's message(s) are we defragmenting here? Only initialized once we succeeded and have_sender is set.

Definition at line 282 of file plugin_transport_udp.c.

Referenced by ack_proc(), and fragment_msg_proc().

◆ udp_addr_len

size_t DefragContext::udp_addr_len

Length of udp_addr.

Definition at line 287 of file plugin_transport_udp.c.

Referenced by ack_proc(), find_receive_context(), fragment_msg_proc(), and read_process_fragment().

◆ network_type

enum GNUNET_NetworkType DefragContext::network_type

Network type the address belongs to.

Definition at line 292 of file plugin_transport_udp.c.

Referenced by fragment_msg_proc(), and read_process_fragment().

◆ have_sender

int DefragContext::have_sender

Has the sender field been initialized yet?

Definition at line 297 of file plugin_transport_udp.c.

Referenced by ack_proc(), and fragment_msg_proc().


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