|
Electroneum
|

Go to the source code of this file.
Classes | |
| struct | ipsecmod_env |
| struct | ipsecmod_qstate |
Functions | |
| int | ipsecmod_init (struct module_env *env, int id) |
| void | ipsecmod_deinit (struct module_env *env, int id) |
| void | ipsecmod_operate (struct module_qstate *qstate, enum module_ev event, int id, struct outbound_entry *outbound) |
| void | ipsecmod_inform_super (struct module_qstate *qstate, int id, struct module_qstate *super) |
| void | ipsecmod_clear (struct module_qstate *qstate, int id) |
| size_t | ipsecmod_get_mem (struct module_env *env, int id) |
| struct module_func_block * | ipsecmod_get_funcblock (void) |
This file contains a module that facilitates opportunistic IPsec. It does so by also quering for the IPSECKEY for A/AAAA queries and calling a configurable hook (eg. signaling an IKE daemon) before replying.
Definition in file ipsecmod.h.
| void ipsecmod_clear | ( | struct module_qstate * | qstate, |
| int | id | ||
| ) |
clear the ipsecmod query-specific contents out of qstate
| void ipsecmod_deinit | ( | struct module_env * | env, |
| int | id | ||
| ) |
Deinit the ipsecmod module
| struct module_func_block* ipsecmod_get_funcblock | ( | void | ) |
Get the function block with pointers to the ipsecmod functions
| size_t ipsecmod_get_mem | ( | struct module_env * | env, |
| int | id | ||
| ) |
return memory estimate for the ipsecmod module
| void ipsecmod_inform_super | ( | struct module_qstate * | qstate, |
| int | id, | ||
| struct module_qstate * | super | ||
| ) |
Subordinate query done, inform this super request of its conclusion
| int ipsecmod_init | ( | struct module_env * | env, |
| int | id | ||
| ) |
Init 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).