OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::PacketStreamResidual< SIZE_TYPE > Class Template Reference

#include <pktstream.hpp>

Collaboration diagram for openvpn::PacketStreamResidual< SIZE_TYPE >:
[legend]

Public Member Functions

void put (BufferAllocated &buf, const Frame::Context &frame_context)
 
void get (BufferAllocated &ret, const Frame::Context &frame_context)
 
bool ready () const
 
void reset ()
 

Static Public Member Functions

static void prepend_size (Buffer &buf)
 

Private Attributes

PacketStream< SIZE_TYPE > pktstream
 
BufferAllocated residual
 

Detailed Description

template<typename SIZE_TYPE>
class openvpn::PacketStreamResidual< SIZE_TYPE >

Definition at line 210 of file pktstream.hpp.

Member Function Documentation

◆ get()

template<typename SIZE_TYPE >
void openvpn::PacketStreamResidual< SIZE_TYPE >::get ( BufferAllocated ret,
const Frame::Context frame_context 
)
inline

Definition at line 228 of file pktstream.hpp.

◆ prepend_size()

template<typename SIZE_TYPE >
static void openvpn::PacketStreamResidual< SIZE_TYPE >::prepend_size ( Buffer buf)
inlinestatic

Definition at line 240 of file pktstream.hpp.

◆ put()

template<typename SIZE_TYPE >
void openvpn::PacketStreamResidual< SIZE_TYPE >::put ( BufferAllocated buf,
const Frame::Context frame_context 
)
inline

Definition at line 213 of file pktstream.hpp.

◆ ready()

template<typename SIZE_TYPE >
bool openvpn::PacketStreamResidual< SIZE_TYPE >::ready ( ) const
inline

Definition at line 235 of file pktstream.hpp.

◆ reset()

template<typename SIZE_TYPE >
void openvpn::PacketStreamResidual< SIZE_TYPE >::reset ( )
inline

Definition at line 246 of file pktstream.hpp.

Member Data Documentation

◆ pktstream

template<typename SIZE_TYPE >
PacketStream<SIZE_TYPE> openvpn::PacketStreamResidual< SIZE_TYPE >::pktstream
private

Definition at line 253 of file pktstream.hpp.

◆ residual

template<typename SIZE_TYPE >
BufferAllocated openvpn::PacketStreamResidual< SIZE_TYPE >::residual
private

Definition at line 254 of file pktstream.hpp.


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