|
OpenVPN
|
#include "syshead.h"#include "dco.h"#include "crypto_backend.h"#include "forward.h"#include "multi.h"#include "networking.h"#include "socket_util.h"
Go to the source code of this file.
Functions | |
| void | multi_process_incoming_dco (dco_context_t *dco) |
| Process an incoming DCO message (from kernel space). | |
| void | process_incoming_dco (dco_context_t *dco) |
| Process an incoming DCO message (from kernel space). | |
| void | register_signal (struct signal_info *si, int signum, const char *signal_text) |
| Register a soft signal in the signal_info struct si respecting priority. | |
| int | net_iface_new (const openvpn_net_ctx_t *ctx, const openvpn_net_iface_t *iface, const char *type, const void *arg) |
| int | net_iface_del (const openvpn_net_ctx_t *ctx, const openvpn_net_iface_t *iface) |
| unsigned int | cipher_kt_key_size (const char *ciphername) |
| Returns the size of keys used by the cipher, in bytes. | |
| const char * | print_sockaddr_ex (const struct sockaddr *addr, const char *separator, const unsigned int flags, struct gc_arena *gc) |
| unsigned int cipher_kt_key_size | ( | const char * | ciphername | ) |
Returns the size of keys used by the cipher, in bytes.
If the cipher has a variable key size, return the default key size.
| ciphername | Cipher name to lookup |
Definition at line 70 of file mock_dco_dependencies.c.
References ASSERT, cipher_get(), and EVP_CIPHER_free().
Referenced by dco_new_key(), epoch_data_key_derive(), init_key_ctx(), key_print(), options_string(), and print_cipher().
| void multi_process_incoming_dco | ( | dco_context_t * | dco | ) |
Process an incoming DCO message (from kernel space).
| dco | - Pointer to the structure representing the DCO context. |
Definition at line 42 of file mock_dco_dependencies.c.
Referenced by dco_read_and_process().
| int net_iface_del | ( | const openvpn_net_ctx_t * | ctx, |
| const openvpn_net_iface_t * | iface ) |
Definition at line 64 of file mock_dco_dependencies.c.
References iface.
Referenced by net__iface_del().
| int net_iface_new | ( | const openvpn_net_ctx_t * | ctx, |
| const openvpn_net_iface_t * | iface, | ||
| const char * | type, | ||
| const void * | arg ) |
Definition at line 57 of file mock_dco_dependencies.c.
References iface.
Referenced by net__iface_new().
| const char * print_sockaddr_ex | ( | const struct sockaddr * | addr, |
| const char * | separator, | ||
| const unsigned int | flags, | ||
| struct gc_arena * | gc ) |
Definition at line 76 of file mock_dco_dependencies.c.
References gc.
Referenced by print_openvpn_sockaddr(), and print_sockaddr().
| void process_incoming_dco | ( | dco_context_t * | dco | ) |
Process an incoming DCO message (from kernel space).
| dco | - Pointer to the structure representing the DCO context. |
Definition at line 47 of file mock_dco_dependencies.c.
| void register_signal | ( | struct signal_info * | si, |
| int | signum, | ||
| const char * | signal_text ) |
Register a soft signal in the signal_info struct si respecting priority.
si may be a pointer to the global siginfo_static or a context-specific signal in a multi-instance or a temporary variable.
Definition at line 52 of file mock_dco_dependencies.c.