OpenVPN 3 Core Library
Loading...
Searching...
No Matches
PacketIDControlConstruct Struct Reference
Inheritance diagram for PacketIDControlConstruct:
[legend]
Collaboration diagram for PacketIDControlConstruct:
[legend]

Public Member Functions

 PacketIDControlConstruct (const PacketIDControl::time_t v_time=PacketIDControl::time_t(0), const PacketIDControl::id_t v_id=PacketIDControl::id_t(0))
 
- Public Member Functions inherited from openvpn::PacketIDControl
bool is_valid () const
 
void reset ()
 
template<typename BufType >
void read (BufType &buf)
 
void write (Buffer &buf, const bool prepend) const
 
std::string str () const
 

Additional Inherited Members

- Public Types inherited from openvpn::PacketIDControl
typedef std::uint32_t id_t
 
typedef std::uint32_t net_time_t
 
typedef Time::base_type time_t
 
- Static Public Member Functions inherited from openvpn::PacketIDControl
static constexpr size_t size ()
 
- Public Attributes inherited from openvpn::PacketIDControl
id_t id
 
time_t time
 
- Static Public Attributes inherited from openvpn::PacketIDControl
static constexpr size_t idsize = sizeof(id_t) + sizeof(net_time_t)
 

Detailed Description

Definition at line 7 of file test_pktid_control.cpp.

Constructor & Destructor Documentation

◆ PacketIDControlConstruct()

PacketIDControlConstruct::PacketIDControlConstruct ( const PacketIDControl::time_t  v_time = PacketIDControl::time_t(0),
const PacketIDControl::id_t  v_id = PacketIDControl::id_t(0) 
)
inline

Definition at line 9 of file test_pktid_control.cpp.


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