OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::SockOpt Namespace Reference

Classes

struct  Creds
 

Functions

bool peercreds (const int fd, Creds &cr)
 
void reuseaddr (const int fd)
 
void tcp_nodelay (const int fd)
 
void set_cloexec (const int fd)
 
static void set_nonblock (const int fd)
 

Function Documentation

◆ peercreds()

bool openvpn::SockOpt::peercreds ( const int  fd,
Creds cr 
)
inline

Definition at line 58 of file peercred.hpp.

◆ reuseaddr()

void openvpn::SockOpt::reuseaddr ( const int  fd)
inline

Definition at line 41 of file sockopt.hpp.

Here is the caller graph for this function:

◆ set_cloexec()

void openvpn::SockOpt::set_cloexec ( const int  fd)
inline

Definition at line 57 of file sockopt.hpp.

Here is the caller graph for this function:

◆ set_nonblock()

static void openvpn::SockOpt::set_nonblock ( const int  fd)
inlinestatic

Definition at line 64 of file sockopt.hpp.

◆ tcp_nodelay()

void openvpn::SockOpt::tcp_nodelay ( const int  fd)
inline

Definition at line 49 of file sockopt.hpp.