Searched refs:foreground_fd (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/plugins/down-root/ |
H A D | down-root.c | 67 int foreground_fd; member in struct:down_root_context 283 context->foreground_fd = -1; 326 if (type == OPENVPN_PLUGIN_UP && context->foreground_fd == -1) /* fork off a process to hold onto root */ 368 context->foreground_fd = fd[0]; 395 else if (type == OPENVPN_PLUGIN_DOWN && context->foreground_fd >= 0) 397 if (send_control (context->foreground_fd, COMMAND_RUN_SCRIPT) == -1) 403 const int status = recv_control (context->foreground_fd); 421 if (context->foreground_fd >= 0) 424 if (send_control (context->foreground_fd, COMMAND_EXIT) == -1) 431 close (context->foreground_fd); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/ |
H A D | ps.h | 38 socket_descriptor_t foreground_fd; member in struct:port_share
|
H A D | ps.c | 802 ps->foreground_fd = -1; 849 ps->foreground_fd = fd[0]; 902 if (ps->foreground_fd >= 0) 905 port_share_sendmsg (ps->foreground_fd, COMMAND_EXIT, NULL, SOCKET_UNDEFINED); 913 openvpn_close_socket (ps->foreground_fd); 914 ps->foreground_fd = -1; 927 if (ps->foreground_fd >= 0) 929 send_control (ps->foreground_fd, COMMAND_EXIT); 930 openvpn_close_socket (ps->foreground_fd); 931 ps->foreground_fd [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/plugins/auth-pam/ |
H A D | auth-pam.c | 71 int foreground_fd; member in struct:auth_pam_context 343 context->foreground_fd = -1; 431 context->foreground_fd = fd[0]; 472 if (type == OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY && context->foreground_fd >= 0) 481 if (send_control (context->foreground_fd, COMMAND_VERIFY) == -1 482 || send_string (context->foreground_fd, username) == -1 483 || send_string (context->foreground_fd, password) == -1 484 || send_string (context->foreground_fd, common_name) == -1) 490 const int status = recv_control (context->foreground_fd); 509 if (context->foreground_fd > [all...] |
Completed in 107 milliseconds