OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WebSocket::Protocol::MaskingKey Union Reference

#include <websocket.hpp>

Public Member Functions

 MaskingKey (std::uint32_t mask)
 
void xor_buf (Buffer &buf) const
 
void prepend_mask (Buffer &buf) const
 

Private Attributes

std::uint32_t mask32
 
std::uint8_t mask8 [4]
 

Detailed Description

Definition at line 77 of file websocket.hpp.

Constructor & Destructor Documentation

◆ MaskingKey()

openvpn::WebSocket::Protocol::MaskingKey::MaskingKey ( std::uint32_t  mask)
inline

Definition at line 79 of file websocket.hpp.

Member Function Documentation

◆ prepend_mask()

void openvpn::WebSocket::Protocol::MaskingKey::prepend_mask ( Buffer buf) const
inline

Definition at line 92 of file websocket.hpp.

Here is the caller graph for this function:

◆ xor_buf()

void openvpn::WebSocket::Protocol::MaskingKey::xor_buf ( Buffer buf) const
inline

Definition at line 84 of file websocket.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ mask32

std::uint32_t openvpn::WebSocket::Protocol::MaskingKey::mask32
private

Definition at line 98 of file websocket.hpp.

◆ mask8

std::uint8_t openvpn::WebSocket::Protocol::MaskingKey::mask8[4]
private

Definition at line 99 of file websocket.hpp.


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