OpenVPN
Data Fields
fragment_list Struct Reference

List of fragment structures for reassembling multiple incoming packets concurrently. More...

#include <fragment.h>

Collaboration diagram for fragment_list:
Collaboration graph
[legend]

Data Fields

int seq_id
 Highest fragmentation sequence ID of the packets currently being reassembled. More...
 
int index
 Index of the packet being reassembled with the highest fragmentation sequence ID into the fragment_list.fragments array. More...
 
struct fragment fragments [N_FRAG_BUF]
 Array of reassembly structures, each can contain one whole packet. More...
 

Detailed Description

List of fragment structures for reassembling multiple incoming packets concurrently.

Definition at line 95 of file fragment.h.

Field Documentation

◆ fragments

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 114 of file fragment.h.

Referenced by fragment_list_buf_free(), fragment_list_buf_init(), and fragment_list_get_buf().

◆ index

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 99 of file fragment.h.

Referenced by fragment_list_get_buf().

◆ seq_id

int fragment_list::seq_id

Highest fragmentation sequence ID of the packets currently being reassembled.

Definition at line 96 of file fragment.h.

Referenced by fragment_list_get_buf().


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