OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::XmitFD Class Reference

#include <xmitfd.hpp>

Public Member Functions

 OPENVPN_EXCEPTION (xmit_fd_error)
 

Static Public Member Functions

static void xmit_fd (const int sock_fd, const int payload_fd, const std::string &message, const int timeout_ms)
 
static int recv_fd (const int sock_fd, std::string &message, const size_t buf_size, const int timeout_ms)
 

Static Private Member Functions

static void poll_wait (const int fd, const bool write, const int timeout)
 

Detailed Description

Definition at line 31 of file xmitfd.hpp.

Member Function Documentation

◆ OPENVPN_EXCEPTION()

openvpn::XmitFD::OPENVPN_EXCEPTION ( xmit_fd_error  )

◆ poll_wait()

static void openvpn::XmitFD::poll_wait ( const int  fd,
const bool  write,
const int  timeout 
)
inlinestaticprivate

Definition at line 125 of file xmitfd.hpp.

Here is the caller graph for this function:

◆ recv_fd()

static int openvpn::XmitFD::recv_fd ( const int  sock_fd,
std::string &  message,
const size_t  buf_size,
const int  timeout_ms 
)
inlinestatic

Definition at line 78 of file xmitfd.hpp.

Here is the caller graph for this function:

◆ xmit_fd()

static void openvpn::XmitFD::xmit_fd ( const int  sock_fd,
const int  payload_fd,
const std::string &  message,
const int  timeout_ms 
)
inlinestatic

Definition at line 36 of file xmitfd.hpp.

Here is the caller graph for this function:

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