Keep track of the white listed domains for ipsecmod. More...
#include "util/storage/dnstree.h"
Functions | |
int | ipsecmod_whitelist_apply_cfg (struct ipsecmod_env *ie, struct config_file *cfg) |
Process ipsecmod_whitelist config. More... | |
void | ipsecmod_whitelist_delete (rbtree_type *whitelist) |
Delete the ipsecmod whitelist. More... | |
int | ipsecmod_domain_is_whitelisted (struct ipsecmod_env *ie, uint8_t *dname, size_t dname_len, uint16_t qclass) |
See if a domain is whitelisted. More... | |
size_t | ipsecmod_whitelist_get_mem (rbtree_type *whitelist) |
Get memory used by ipsecmod whitelist. More... | |
Keep track of the white listed domains for ipsecmod.
int ipsecmod_whitelist_apply_cfg | ( | struct ipsecmod_env * | ie, |
struct config_file * | cfg | ||
) |
Process ipsecmod_whitelist config.
ie | ipsecmod environment. |
cfg | config options. |
void ipsecmod_whitelist_delete | ( | rbtree_type * | whitelist | ) |
Delete the ipsecmod whitelist.
whitelist | ipsecmod whitelist. |
int ipsecmod_domain_is_whitelisted | ( | struct ipsecmod_env * | ie, |
uint8_t * | dname, | ||
size_t | dname_len, | ||
uint16_t | qclass | ||
) |
See if a domain is whitelisted.
ie | ipsecmod environment. |
dname | domain name to check. |
dname_len | length of domain name. |
qclass | query CLASS. |
size_t ipsecmod_whitelist_get_mem | ( | rbtree_type * | whitelist | ) |
Get memory used by ipsecmod whitelist.
whitelist | structure for domain storage. |