OpenVPN
Functions
fdmisc.h File Reference
#include "basic.h"
#include "error.h"
#include "syshead.h"
Include dependency graph for fdmisc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool set_nonblock_action (socket_descriptor_t fd)
 
bool set_cloexec_action (socket_descriptor_t fd)
 
void set_nonblock (socket_descriptor_t fd)
 
void set_cloexec (socket_descriptor_t fd)
 
static void openvpn_fd_set (socket_descriptor_t fd, fd_set *setp)
 

Function Documentation

◆ openvpn_fd_set()

static void openvpn_fd_set ( socket_descriptor_t  fd,
fd_set *  setp 
)
inlinestatic

◆ set_cloexec()

void set_cloexec ( socket_descriptor_t  fd)

Definition at line 79 of file fdmisc.c.

References M_ERR, msg, and set_cloexec_action().

Referenced by create_socket_tcp(), create_socket_udp(), socket_do_accept(), and status_open().

◆ set_cloexec_action()

bool set_cloexec_action ( socket_descriptor_t  fd)

Definition at line 56 of file fdmisc.c.

Referenced by set_cloexec().

◆ set_nonblock()

void set_nonblock ( socket_descriptor_t  fd)

◆ set_nonblock_action()

bool set_nonblock_action ( socket_descriptor_t  fd)

Definition at line 37 of file fdmisc.c.

Referenced by set_nonblock().