#include <config.h>
#include <isc/util.h>
#include <isc/mem.h>
#include <isc/once.h>
#include <isc/string.h>
#include <dns/acl.h>
#include <dns/geoip.h>
#include <isc/thread.h>
#include <math.h>
#include <netinet/in.h>
#include <dns/log.h>
Go to the source code of this file.
Defines | |
#define | DB46(addr, geoip, name) ((addr->family == AF_INET) ? (geoip->name##_v4) : (geoip->name##_v6)) |
Functions | |
isc_boolean_t | dns_geoip_match (const isc_netaddr_t *reqaddr, isc_uint8_t *scope, const dns_geoip_databases_t *geoip, const dns_geoip_elem_t *elt) |
void | dns_geoip_shutdown (void) |
Definition in file geoip.c.
isc_boolean_t dns_geoip_match | ( | const isc_netaddr_t * | reqaddr, | |
isc_uint8_t * | scope, | |||
const dns_geoip_databases_t * | geoip, | |||
const dns_geoip_elem_t * | elt | |||
) |
void dns_geoip_shutdown | ( | void | ) |