Lines Matching defs:edns
2 * edns-subnet/subnetmod.c - edns subnet module. Must be called before validator
45 #include "edns-subnet/subnetmod.h"
46 #include "edns-subnet/edns-subnet.h"
47 #include "edns-subnet/addrtree.h"
48 #include "edns-subnet/subnet-whitelist.h"
99 /** Add ecs struct to edns list, after parsing it to wire format. */
213 /* whitelist for edns subnet capable servers */
293 * Select tree from cache entry based on edns data.
297 get_tree(struct subnet_msg_cache_data *data, struct ecs_data *edns,
301 if (edns->subnet_addr_fam == EDNSSUBNET_ADDRFAM_IP4) {
327 struct ecs_data *edns = &sq->ecs_client_in;
366 if (!(tree = get_tree(lru_entry->data, edns, sne, qstate->env->cfg))) {
388 addrtree_insert(tree, (addrkey_t*)edns->subnet_addr,
389 edns->subnet_source_mask, sq->max_scope, rep,
498 /* The authority indicated no support for edns subnet. As a
500 * is still usefull to put it in the edns subnet cache for