Tor  0.4.7.0-alpha-dev
Data Fields
geoip_ipv6_entry_t Struct Reference

Data Fields

struct in6_addr ip_low
 
struct in6_addr ip_high
 
intptr_t country
 

Detailed Description

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

Definition at line 61 of file geoip.c.

Field Documentation

◆ country

intptr_t country

An index into geoip_countries

Definition at line 64 of file geoip.c.

Referenced by geoip_get_country_by_ipv6().

◆ ip_high

struct in6_addr ip_high

The highest IP in the range, in host order

Definition at line 57 of file geoip.c.

Referenced by geoip_ipv6_compare_key_to_entry_().

◆ ip_low

struct in6_addr ip_low

The lowest IP in the range, in host order

Definition at line 57 of file geoip.c.

Referenced by geoip_ipv6_compare_entries_(), and geoip_ipv6_compare_key_to_entry_().


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