This file contains a module that facilitates opportunistic IPsec. More...
Data Structures | |
struct | ipsecmod_env |
The global variable environment contents for the ipsecmod Shared between threads, this represents long term information. More... | |
struct | ipsecmod_qstate |
Per query state for the ipsecmod module. More... | |
Functions | |
int | ipsecmod_init (struct module_env *env, int id) |
Init the ipsecmod module. | |
void | ipsecmod_deinit (struct module_env *env, int id) |
Deinit the ipsecmod module. | |
void | ipsecmod_operate (struct module_qstate *qstate, enum module_ev event, int id, struct outbound_entry *outbound) |
Operate on an event on a query (in qstate). | |
void | ipsecmod_inform_super (struct module_qstate *qstate, int id, struct module_qstate *super) |
Subordinate query done, inform this super request of its conclusion. | |
void | ipsecmod_clear (struct module_qstate *qstate, int id) |
clear the ipsecmod query-specific contents out of qstate | |
size_t | ipsecmod_get_mem (struct module_env *env, int id) |
return memory estimate for the ipsecmod module | |
struct module_func_block * | ipsecmod_get_funcblock (void) |
Get the function block with pointers to the ipsecmod functions. More... | |
This file contains a module that facilitates opportunistic IPsec.
It does so by also querying for the IPSECKEY for A/AAAA queries and calling a configurable hook (eg. signaling an IKE daemon) before replying.
struct module_func_block* ipsecmod_get_funcblock | ( | void | ) |
Get the function block with pointers to the ipsecmod functions.
Referenced by module_funcs_avail().