OpenVPN
|
Go to the source code of this file.
Functions | |
unsigned int | p2mp_iow_flags (const struct multi_context *m) |
void | multi_process_io_udp (struct multi_context *m, struct link_socket *sock) |
struct multi_instance * | multi_get_create_instance_udp (struct multi_context *m, bool *floated, struct link_socket *sock) |
Get, and if necessary create, the multi_instance associated with a packet's source address. | |
void multi_process_io_udp | ( | struct multi_context * | m, |
struct link_socket * | sock | ||
) |
Definition at line 335 of file mudp.c.
References ASSERT, context::c2, DCO_READ, ES_ERROR, context_2::fast_io, FILE_CLOSED, IS_SIG, management_io(), MANAGEMENT_READ, MANAGEMENT_WRITE, MPP_CLOSE_ON_SIGNAL, MPP_CONDITIONAL_PRE_SELECT, MPP_PRE_SELECT, multi_context::multi_io, multi_process_incoming_dco(), multi_process_incoming_link(), multi_process_incoming_tun(), multi_process_outgoing_link(), multi_process_outgoing_tun(), read_incoming_link(), read_incoming_tun(), SOCKET_READ, SOCKET_WRITE, status, multi_context::top, TUN_READ, TUN_WRITE, and multi_io::udp_flags.
Referenced by multi_io_process_io().
unsigned int p2mp_iow_flags | ( | const struct multi_context * | m | ) |
Definition at line 434 of file mudp.c.
References context::c1, multi_instance::context, multi_context::hmac_reply_dest, IOW_MBUF, IOW_READ, IOW_TO_LINK, IOW_TO_TUN, IOW_WAIT_SIGNAL, LINK_OUT, multi_context::mbuf, mbuf_defined(), multi_context::pending, multi_context::top, TUN_OUT, context_1::tuntap, and tuntap_ring_empty().
Referenced by multi_io_wait().