Lines Matching defs:family

60  * family and addr6 fields are to be used IPv6 is added.
64 unsigned int family;
158 set_state(unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6,
192 if (family == AF_INET)
197 state->family = family;
210 get_state_for(unsigned int family, isc_uint32_t ipnum,
229 if (state->family == family &&
230 ((state->family == AF_INET && state->ipnum == ipnum) ||
231 (state->family == AF_INET6 && ipnum6 != NULL &&
245 unsigned int family,
257 if (family == AF_INET6)
261 prev_state = get_state_for(family, ipnum, ipnum6);
271 if (family == AF_INET)
281 if (family == AF_INET)
291 if (family == AF_INET)
310 set_state(family, ipnum, ipnum6, gl.netmask, subtype,
399 unsigned int family, isc_uint32_t ipnum,
410 if (family == AF_INET6)
414 prev_state = get_state_for(family, ipnum, ipnum6);
422 if (family == AF_INET)
434 set_state(family, ipnum, ipnum6, record->netmask, subtype,
592 ((addr->family == AF_INET) ? (geoip->name##_v4) : (geoip->name##_v6))
608 else if (reqaddr->family == AF_INET && geoip->region != NULL)
628 else if (reqaddr->family == AF_INET && geoip->region != NULL)
634 else if (reqaddr->family == AF_INET && geoip->region != NULL)
662 int maxlen = 0, id, family;
673 family = reqaddr->family;
674 switch (family) {
709 cs = country_lookup(db, subtype, family, ipnum, ipnum6, scope);
729 record = city_lookup(db, subtype, family,
745 record = city_lookup(db, subtype, family,
759 record = city_lookup(db, subtype, family,
778 if (family == AF_INET6)
812 if (family == AF_INET6)
837 if (family == AF_INET6)