19#ifndef OPENVPN_COMPRESS_COMPSTUB_H
20#define OPENVPN_COMPRESS_COMPSTUB_H
42 const char *
name()
const override
105 const char *
name()
const override
void decompress_work(BufferAllocated &buf)
const char * name() const override
CompressStubV2(const Frame::Ptr &frame, const SessionStats::Ptr &stats)
void compress(BufferAllocated &buf, const bool hint) override
void decompress(BufferAllocated &buf) override
void decompress(BufferAllocated &buf) override
CompressStub(const Frame::Ptr &frame, const SessionStats::Ptr &stats, const bool support_swap_arg)
const char * name() const override
void compress(BufferAllocated &buf, const bool hint) override
void do_swap(Buffer &buf, unsigned char op)
void error(BufferAllocated &buf)
void do_unswap(Buffer &buf)
void v2_push(Buffer &buf, unsigned char value)
size_t size() const
Returns the size of the buffer in T objects.
T pop_front()
Removes and returns the first element from the buffer.
void push_front(const T &value)
Append a T object to the array, with possible resize.
#define OVPN_LOG_INFO(args)
#define OVPN_LOG_VERBOSE(args)