OpenVPN
|
Structure for reassembling one incoming fragmented packet. More...
#include <fragment.h>
Data Fields | |
bool | defined |
Whether reassembly is currently taking place in this structure. More... | |
int | max_frag_size |
Maximum size of each fragment. More... | |
unsigned int | map |
Reassembly map for recording which fragments have been received. More... | |
time_t | timestamp |
Timestamp for time-to-live purposes. More... | |
struct buffer | buf |
Buffer in which received datagrams are reassembled. More... | |
Structure for reassembling one incoming fragmented packet.
Definition at line 65 of file fragment.h.
struct buffer fragment::buf |
Buffer in which received datagrams are reassembled.
Definition at line 86 of file fragment.h.
Referenced by fragment_incoming(), fragment_list_buf_free(), fragment_list_buf_init(), fragment_outgoing(), fragment_prepend_flags(), and fragment_ready_to_send().
bool fragment::defined |
Whether reassembly is currently taking place in this structure.
Definition at line 66 of file fragment.h.
Referenced by fragment_incoming(), fragment_list_get_buf(), and fragment_ttl_reap().
unsigned int fragment::map |
Reassembly map for recording which fragments have been received.
A bit array where each bit corresponds to a fragment. A 1 bit in element n means that the fragment n has been received. Needs to have at least MAX_FRAGS
bits.
Definition at line 74 of file fragment.h.
Referenced by fragment_incoming().
int fragment::max_frag_size |
Maximum size of each fragment.
Definition at line 69 of file fragment.h.
Referenced by fragment_incoming(), and optimal_fragment_size().
time_t fragment::timestamp |
Timestamp for time-to-live purposes.
Definition at line 84 of file fragment.h.
Referenced by fragment_incoming(), and fragment_ttl_reap().