|
OpenVPN 3 Core Library
|
Public Member Functions | |
| PacketIDDataConstruct (const PacketIDData::data_id_t v_id=PacketIDData::data_id_t{0}, bool wide=false) | |
Public Member Functions inherited from openvpn::PacketIDData | |
| constexpr std::size_t | size () const |
| PacketIDData (bool wide_arg) | |
| PacketIDData (bool wide_arg, data_id_t id_arg) | |
| bool | is_valid () const |
| void | reset () |
| uint16_t | get_epoch () |
| void | read (ConstBuffer &buf) |
| void | write (Buffer &buf) const |
| void | write_prepend (Buffer &buf) const |
| std::string | str () const |
Additional Inherited Members | |
Public Types inherited from openvpn::PacketIDData | |
| typedef std::uint64_t | data_id_t |
Static Public Member Functions inherited from openvpn::PacketIDData | |
| static constexpr size_t | size (bool wide) |
Public Attributes inherited from openvpn::PacketIDData | |
| data_id_t | id = 0 |
| bool | wide = false |
Static Public Attributes inherited from openvpn::PacketIDData | |
| static constexpr data_id_t | epoch_packet_id_mask = 0x0000ffffffffffffull |
| static constexpr std::size_t | short_id_size = sizeof(std::uint32_t) |
| static constexpr std::size_t | long_id_size = sizeof(std::uint64_t) |
Definition at line 8 of file test_pktid_data.cpp.
|
inlineexplicit |
Definition at line 10 of file test_pktid_data.cpp.