• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/libGeoIP/

Lines Matching refs:GeoIP

2 /* GeoIP.c
21 #include "GeoIP.h"
326 "GeoIP Country Edition",
327 "GeoIP City Edition, Rev 1",
328 "GeoIP Region Edition, Rev 1",
329 "GeoIP ISP Edition",
330 "GeoIP Organization Edition",
331 "GeoIP City Edition, Rev 0",
332 "GeoIP Region Edition, Rev 0",
333 "GeoIP Proxy Edition",
334 "GeoIP ASNum Edition",
335 "GeoIP Netspeed Edition",
336 "GeoIP Domain Name Edition",
337 "GeoIP Country V6 Edition",
338 "GeoIP LocationID ASCII Edition",
339 "GeoIP Accuracy Radius Edition",
342 "GeoIP Large Country Edition",
343 "GeoIP Large Country V6 Edition",
345 "GeoIP CCM Edition",
346 "GeoIP ASNum V6 Edition",
347 "GeoIP ISP V6 Edition",
348 "GeoIP Organization V6 Edition",
349 "GeoIP Domain Name V6 Edition",
350 "GeoIP LocationID ASCII V6 Edition",
351 "GeoIP Registrar Edition",
352 "GeoIP Registrar V6 Edition",
353 "GeoIP UserType Edition",
354 "GeoIP UserType V6 Edition",
355 "GeoIP City Edition V6, Rev 1",
356 "GeoIP City Edition V6, Rev 0",
357 "GeoIP Netspeed Edition, Rev 1",
358 "GeoIP Netspeed Edition V6, Rev1",
359 "GeoIP Country Confidence Edition",
360 "GeoIP City Confidence Edition",
361 "GeoIP Region Confidence Edition",
362 "GeoIP Postal Confidence Edition",
363 "GeoIP Accuracy Radius Edition V6"
414 GeoIPDBFileName[GEOIP_COUNTRY_EDITION] = _GeoIP_full_path_to("GeoIP.dat");
428 GeoIPDBFileName[GEOIP_LARGE_COUNTRY_EDITION] = _GeoIP_full_path_to("GeoIP.dat");
524 void _setup_segments(GeoIP * gi) {
533 /* default to GeoIP Country Edition */
621 int _check_mtime(GeoIP *gi) {
662 /* GeoIP Database file updated */
747 unsigned int _GeoIP_seek_record_v6_gl (GeoIP *gi, geoipv6_t ipnum, GeoIPLookup * gl) {
834 unsigned int _GeoIP_seek_record_gl (GeoIP *gi, unsigned long ipnum, GeoIPLookup *gl) {
939 GeoIP* GeoIP_open_type (int type, int flags) {
940 GeoIP * gi;
973 GeoIP* GeoIP_new (int flags) {
974 GeoIP * gi;
980 GeoIP* GeoIP_open (const char * filename, int flags) {
983 GeoIP * gi;
986 gi = (GeoIP *)malloc(sizeof(GeoIP));
1092 void GeoIP_delete (GeoIP *gi) {
1116 const char *GeoIP_country_code_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1122 const char *GeoIP_country_code_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1128 const char *GeoIP_country_code3_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1134 const char *GeoIP_country_code3_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1140 const char *GeoIP_country_name_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1146 const char *GeoIP_country_name_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1225 int GeoIP_id_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup *gl ) {
1241 int GeoIP_id_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1259 const char *GeoIP_country_code_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1266 const char *GeoIP_country_code_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1271 const char *GeoIP_country_code3_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1277 const char *GeoIP_country_code3_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1283 const char *GeoIP_country_name_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl ) {
1289 const char *GeoIP_country_name_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl ) {
1295 const char *GeoIP_country_name_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1301 const char *GeoIP_country_name_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1307 const char *GeoIP_country_code_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1313 const char *GeoIP_country_code_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1319 const char *GeoIP_country_code3_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1325 const char *GeoIP_country_code3_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1331 int GeoIP_country_id_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1336 int GeoIP_country_id_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1340 int GeoIP_country_id_by_name_v6_gl (GeoIP* gi, const char *host, GeoIPLookup * gl) {
1344 int GeoIP_country_id_by_name_gl (GeoIP* gi, const char *host, GeoIPLookup * gl) {
1348 int GeoIP_id_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1367 int GeoIP_id_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1387 int GeoIP_id_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1400 int GeoIP_id_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1418 char *GeoIP_database_info (GeoIP* gi) {
1466 /* GeoIP Region Edition functions */
1468 void GeoIP_assign_region_by_inetaddr_gl(GeoIP* gi, unsigned long inetaddr, GeoIPRegion *region, GeoIPLookup * gl) {
1513 void GeoIP_assign_region_by_inetaddr_v6_gl(GeoIP* gi, geoipv6_t inetaddr, GeoIPRegion *region, GeoIPLookup * gl) {
1559 GeoIPRegion * _get_region_gl(GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1570 GeoIPRegion * _get_region_v6_gl(GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1580 GeoIPRegion * GeoIP_region_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1594 GeoIPRegion * GeoIP_region_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1608 GeoIPRegion * GeoIP_region_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1623 GeoIPRegion * GeoIP_region_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1640 GeoIPRegion * GeoIP_region_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1649 GeoIPRegion * GeoIP_region_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1662 /* GeoIP Organization, ISP and AS Number Edition private method */
1664 char *_get_name_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1719 char *_get_name_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1797 char **GeoIP_range_by_ip_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1853 char *GeoIP_name_by_ipnum_gl (GeoIP* gi, unsigned long ipnum, GeoIPLookup * gl) {
1857 char *GeoIP_name_by_ipnum_v6_gl (GeoIP* gi, geoipv6_t ipnum, GeoIPLookup * gl) {
1861 char *GeoIP_name_by_addr_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1870 char *GeoIP_name_by_addr_v6_gl (GeoIP* gi, const char *addr, GeoIPLookup * gl) {
1879 char *GeoIP_name_by_name_gl (GeoIP* gi, const char *name, GeoIPLookup * gl) {
1889 char *GeoIP_name_by_name_v6_gl (GeoIP* gi, const char *name, GeoIPLookup *gl) {
1900 unsigned char GeoIP_database_edition (GeoIP* gi) {
1904 int GeoIP_enable_teredo(GeoIP* gi, int true_false){
1913 int GeoIP_teredo ( GeoIP* gi ){
1918 int GeoIP_charset( GeoIP* gi){
1922 int GeoIP_set_charset( GeoIP* gi, int charset ){
1948 const char* GeoIP_country_name_by_id(GeoIP * gi, int id)