You are here

function geoip_country_id_by_addr_v6 in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/geoip.inc \geoip_country_id_by_addr_v6()
2 calls to geoip_country_id_by_addr_v6()
geoip_country_code_by_addr_v6 in includes/geoip.inc
geoip_country_name_by_addr_v6 in includes/geoip.inc

File

includes/geoip.inc, line 527

Code

function geoip_country_id_by_addr_v6($gi, $addr) {
  $ipnum = inet_pton($addr);
  return _geoip_seek_country_v6($gi, $ipnum) - GEOIP_COUNTRY_BEGIN;
}