OpenVPN
Data Fields
frame Struct Reference

Packet geometry parameters. More...

#include <mtu.h>

Data Fields

int link_mtu
 Maximum packet size to be sent over the external network interface. More...
 
int link_mtu_dynamic
 Dynamic MTU value for the external network interface. More...
 
int extra_frame
 Maximum number of bytes that all processing steps together could add. More...
 
int extra_buffer
 Maximum number of bytes that processing steps could expand the internal work buffer. More...
 
int extra_tun
 Maximum number of bytes in excess of the tun/tap MTU that might be read from or written to the virtual tun/tap network interface. More...
 
int extra_link
 Maximum number of bytes in excess of external network interface's MTU that might be read from or written to it. More...
 
unsigned int align_flags
 
int align_adjust
 

Detailed Description

Packet geometry parameters.

Definition at line 93 of file mtu.h.

Field Documentation

◆ align_adjust

int frame::align_adjust

◆ align_flags

unsigned int frame::align_flags

Definition at line 133 of file mtu.h.

Referenced by frame_headroom(), frame_or_align_flags(), and frame_print().

◆ extra_buffer

int frame::extra_buffer

Maximum number of bytes that processing steps could expand the internal work buffer.

This is used by the Data Channel Compression module to give enough working space for worst-case expansion of incompressible content.

Definition at line 107 of file mtu.h.

Referenced by frame_add_to_extra_buffer(), and frame_print().

◆ extra_frame

int frame::extra_frame

Maximum number of bytes that all processing steps together could add.

frame.link_mtu = "socket MTU" - extra_frame;

Definition at line 100 of file mtu.h.

Referenced by frame_add_to_extra_frame(), frame_align_to_extra_frame(), frame_print(), frame_remove_from_extra_frame(), and frame_subtract_extra().

◆ extra_link

int frame::extra_link

Maximum number of bytes in excess of external network interface's MTU that might be read from or written to it.

Definition at line 122 of file mtu.h.

Referenced by frame_add_to_extra_link(), frame_align_to_extra_frame(), frame_print(), and tls_init_control_channel_frame_parameters().

◆ extra_tun

int frame::extra_tun

Maximum number of bytes in excess of the tun/tap MTU that might be read from or written to the virtual tun/tap network interface.

Definition at line 117 of file mtu.h.

Referenced by frame_add_to_extra_tun(), frame_print(), and frame_subtract_extra().

◆ link_mtu

int frame::link_mtu

Maximum packet size to be sent over the external network interface.

Definition at line 94 of file mtu.h.

Referenced by frame_add_to_link_mtu(), frame_defined(), frame_finalize(), frame_print(), and tls_init_control_channel_frame_parameters().

◆ link_mtu_dynamic

int frame::link_mtu_dynamic

Dynamic MTU value for the external network interface.

Definition at line 97 of file mtu.h.

Referenced by frame_finalize(), frame_print(), frame_set_mtu_dynamic(), and tls_init_control_channel_frame_parameters().


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