OpenVPN
|
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) |
|
inlinestatic |
Definition at line 40 of file fdmisc.h.
References ASSERT.
Referenced by openvpn_connect(), recv_line(), recv_socks_reply(), socket_listen_accept(), socks_handshake(), and socks_username_password_auth().
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().
bool set_cloexec_action | ( | socket_descriptor_t | fd | ) |
Definition at line 56 of file fdmisc.c.
Referenced by set_cloexec().
void set_nonblock | ( | socket_descriptor_t | fd | ) |
Definition at line 69 of file fdmisc.c.
References M_ERR, msg, and set_nonblock_action().
Referenced by man_listen(), man_new_connection_post(), openvpn_connect(), phase2_set_socket_flags(), and socket_do_listen().
bool set_nonblock_action | ( | socket_descriptor_t | fd | ) |
Definition at line 37 of file fdmisc.c.
Referenced by set_nonblock().