OpenVPN
Functions
mudp.c File Reference
#include "syshead.h"
#include "multi.h"
#include <inttypes.h>
#include "forward.h"
#include "memdbg.h"
#include "ssl_pkt.h"
Include dependency graph for mudp.c:

Go to the source code of this file.

Functions

static void send_hmac_reset_packet (struct multi_context *m, struct tls_pre_decrypt_state *state, struct tls_auth_standalone *tas, struct session_id *sid, bool request_resend_wkc, struct link_socket *sock)
 
static bool do_pre_decrypt_check (struct multi_context *m, struct tls_pre_decrypt_state *state, struct mroute_addr addr, struct link_socket *sock)
 
static struct multi_instancehandle_connection_attempt (struct multi_context *m, struct link_socket *sock, struct mroute_addr *real, const uint64_t hv, struct hash_bucket *bucket)
 Handles a packet if no existing session exists for this incoming packet.
 
struct multi_instancemulti_get_create_instance_udp (struct multi_context *m, bool *floated, struct link_socket *sock)
 Get a client instance based on real address.
 
static void multi_process_outgoing_link (struct multi_context *m, const unsigned int mpp_flags)
 
void multi_process_io_udp (struct multi_context *m, struct link_socket *sock, unsigned int rwflags)
 

Function Documentation

◆ do_pre_decrypt_check()

static bool do_pre_decrypt_check ( struct multi_context m,
struct tls_pre_decrypt_state state,
struct mroute_addr  addr,
struct link_socket sock 
)
static

◆ handle_connection_attempt()

static struct multi_instance * handle_connection_attempt ( struct multi_context m,
struct link_socket sock,
struct mroute_addr real,
const uint64_t  hv,
struct hash_bucket bucket 
)
static

◆ multi_process_io_udp()

void multi_process_io_udp ( struct multi_context m,
struct link_socket sock,
unsigned int  rwflags 
)

◆ multi_process_outgoing_link()

static void multi_process_outgoing_link ( struct multi_context m,
const unsigned int  mpp_flags 
)
inlinestatic

◆ send_hmac_reset_packet()

static void send_hmac_reset_packet ( struct multi_context m,
struct tls_pre_decrypt_state state,
struct tls_auth_standalone tas,
struct session_id sid,
bool  request_resend_wkc,
struct link_socket sock 
)
static