This module offers compression of data channel packets. More...
This module offers compression of data channel packets.
lzo_compress_workspacestructure. This state includes flags which control the module's behavior and preallocated working memory. One such structure is present for each VPN tunnel, and is stored in the
contextassociated with that VPN tunnel.
lzo_compress_workspaceis needed, it must be initialized using the
lzo_compress_init()function. Similarly, every time a
lzo_compress_workspaceis no longer needed, it must be cleaned up using the
lzo_compress_uninit()function. These functions take care of the allocation and freeing of internal working memory, but not of the
lzo_compress_workspacestructures and VPN tunnels, the above-mentioned initialization and cleanup functions are called directly from the
close_instance()functions, which control the initialization and cleanup of VPN tunnel instances and their associated
ENABLE_LZOpreprocessor macro and the runtime flags stored in
lzo_compress_workspace.flagsof the associated VPN tunnel. The latter are initialized from
options.lzo, which gets its value from the process's configuration sources, such as its configuration file or command line options.
lzolibrary's implementation of the algorithms.