OpenVPN
|
Go to the source code of this file.
Data Structures | |
struct | session_id |
Macros | |
#define | SID_SIZE (sizeof(x_session_id_zero.id)) |
Functions | |
static bool | session_id_equal (const struct session_id *sid1, const struct session_id *sid2) |
static bool | session_id_defined (const struct session_id *sid1) |
static bool | session_id_read (struct session_id *sid, struct buffer *buf) |
static bool | session_id_write_prepend (const struct session_id *sid, struct buffer *buf) |
static bool | session_id_write (const struct session_id *sid, struct buffer *buf) |
void | session_id_random (struct session_id *sid) |
const char * | session_id_print (const struct session_id *sid, struct gc_arena *gc) |
Variables | |
const struct session_id | x_session_id_zero |
#define SID_SIZE (sizeof(x_session_id_zero.id)) |
Definition at line 45 of file session_id.h.
|
inlinestatic |
Definition at line 55 of file session_id.h.
References session_id::id, SID_SIZE, and x_session_id_zero.
Referenced by multi_get_create_instance_udp(), reliable_ack_read(), reliable_ack_write(), tls_pre_decrypt(), tls_pre_decrypt_lite(), tls_process(), and tls_session_init().
|
inlinestatic |
Definition at line 48 of file session_id.h.
References session_id::id, and SID_SIZE.
Referenced by reliable_ack_read(), and tls_pre_decrypt().
const char* session_id_print | ( | const struct session_id * | sid, |
struct gc_arena * | gc | ||
) |
Definition at line 55 of file session_id.c.
References format_hex(), session_id::id, and SID_SIZE.
Referenced by print_key_id(), protocol_dump(), reliable_ack_print(), reliable_ack_read(), session_move_pre_start(), tls_multi_process(), tls_pre_decrypt(), and tls_session_init().
void session_id_random | ( | struct session_id * | sid | ) |
Definition at line 49 of file session_id.c.
References session_id::id, prng_bytes(), and SID_SIZE.
Referenced by tls_session_init().
|
inlinestatic |
Definition at line 61 of file session_id.h.
References buf_read(), session_id::id, and SID_SIZE.
Referenced by protocol_dump(), reliable_ack_parse(), reliable_ack_print(), tls_pre_decrypt(), and tls_pre_decrypt_lite().
|
inlinestatic |
Definition at line 73 of file session_id.h.
References buf_write(), session_id::id, and SID_SIZE.
Referenced by reliable_ack_write(), and tls_wrap_control().
|
inlinestatic |
Definition at line 67 of file session_id.h.
References buf_write_prepend(), session_id::id, and SID_SIZE.
Referenced by tls_wrap_control().
const struct session_id x_session_id_zero |
Definition at line 46 of file session_id.c.
Referenced by session_id_defined().