Searched defs:geoip (Results 1 - 4 of 4) sorted by relevance

/bind-9.11.3/lib/isccfg/include/isccfg/
H A Daclconf.h19 #include <dns/geoip.h>
27 dns_geoip_databases_t *geoip; member in struct:cfg_aclconfctx
/bind-9.11.3/lib/dns/include/dns/
H A Dacl.h33 #include <dns/geoip.h>
96 dns_geoip_databases_t *geoip; member in struct:dns_aclenv
/bind-9.11.3/lib/dns/tests/
H A Dgeoip_test.c23 #include <dns/geoip.h>
30 /* We use GeoIP databases from the 'geoip' system test */
31 #define TEST_GEOIP_DATA "../../../bin/tests/system/geoip/data"
35 * (Mostly copied from bin/named/geoip.c)
37 static dns_geoip_databases_t geoip = { variable
71 ? "; geoip matches using this database will fail"
104 init_geoip_db(&geoip.country_v4, GEOIP_COUNTRY_EDITION, 0,
107 init_geoip_db(&geoip.country_v6, GEOIP_COUNTRY_EDITION_V6, 0,
111 init_geoip_db(&geoip.city_v4, GEOIP_CITY_EDITION_REV1,
114 init_geoip_db(&geoip
[all...]
/bind-9.11.3/lib/dns/
H A Dgeoip.c20 #include <dns/geoip.h>
591 #define DB46(addr, geoip, name) \
592 ((addr->family == AF_INET) ? (geoip->name##_v4) : (geoip->name##_v6))
599 fix_subtype(const isc_netaddr_t *reqaddr, const dns_geoip_databases_t *geoip, argument
606 if (DB46(reqaddr, geoip, city) != NULL)
608 else if (reqaddr->family == AF_INET && geoip->region != NULL)
610 else if (DB46(reqaddr, geoip, country) != NULL)
614 if (DB46(reqaddr, geoip, city) != NULL)
616 else if (DB46(reqaddr, geoip, countr
646 dns_geoip_match(const isc_netaddr_t *reqaddr, isc_uint8_t *scope, const dns_geoip_databases_t *geoip, const dns_geoip_elem_t *elt) argument
[all...]

Completed in 10 milliseconds