|
OpenVPN
|
List of fragment structures for reassembling multiple incoming packets concurrently. More...
#include <fragment.h>

Data Fields | |
| int | seq_id |
| Highest fragmentation sequence ID of the packets currently being reassembled. | |
| int | index |
Index of the packet being reassembled with the highest fragmentation sequence ID into the fragment_list.fragments array. | |
| struct fragment | fragments [N_FRAG_BUF] |
| Array of reassembly structures, each can contain one whole packet. | |
List of fragment structures for reassembling multiple incoming packets concurrently.
Definition at line 95 of file fragment.h.
| struct fragment fragment_list::fragments[N_FRAG_BUF] |
Array of reassembly structures, each can contain one whole packet.
The fragmentation sequence IDs of the packets being reassembled in this array are linearly increasing. fragment_list.fragments[fragment_list.index] has an ID of fragment_list.seq_id. This means that one of these fragment_list structures can at any one time contain at most packets with the fragmentation sequence IDs in the range fragment_list.seq_id - N_FRAG_BUF + 1 to fragment_list.seq_id, inclusive.
Definition at line 117 of file fragment.h.
Referenced by fragment_list_buf_free(), fragment_list_buf_init(), and fragment_list_get_buf().
| int fragment_list::index |
Index of the packet being reassembled with the highest fragmentation sequence ID into the fragment_list.fragments array.
Definition at line 105 of file fragment.h.
Referenced by fragment_list_get_buf().
| int fragment_list::seq_id |
Highest fragmentation sequence ID of the packets currently being reassembled.
Definition at line 100 of file fragment.h.
Referenced by fragment_list_get_buf().