function geoip_country_id_by_addr_v6 in Smart IP 6.2
Same name and namespace in other branches
- 7.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;
}