geoip_entry_t Struct Reference


Data Fields

uint32_t ip_low
uint32_t ip_high
intptr_t country

Detailed Description

An entry from the GeoIP file: maps an IP range to a country.

Field Documentation

The lowest IP in the range, in host order

Referenced by _geoip_compare_entries(), and geoip_add_entry().

The highest IP in the range, in host order

Referenced by _geoip_compare_key_to_entry(), and geoip_add_entry().

An index into geoip_countries

Referenced by geoip_add_entry(), and geoip_get_country_by_ip().


The documentation for this struct was generated from the following file:

Generated on Tue May 25 00:31:12 2010 for tor by  doxygen 1.5.6