Home | Trees | Indices | Help |
|
---|
|
Constants needed for parsing binary GeoIP databases. It is part of the pygeoip package.
Author: Jennifer Ennis <zaylea at gmail dot com>
License: Copyright(C) 2004 MaxMind LLC
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl.txt>.
|
|||
GEOIP_STANDARD = 0
|
|||
GEOIP_MEMORY_CACHE = 1
|
|||
DMA_MAP =
|
|||
COUNTRY_CODES =
|
|||
COUNTRY_CODES3 =
|
|||
COUNTRY_NAMES =
|
|||
STANDARD = 0
|
|||
MEMORY_CACHE = 1
|
|||
MMAP_CACHE = 8
|
|||
COUNTRY_BEGIN = 16776960
|
|||
STATE_BEGIN_REV0 = 16700000
|
|||
STATE_BEGIN_REV1 = 16000000
|
|||
STRUCTURE_INFO_MAX_SIZE = 20
|
|||
DATABASE_INFO_MAX_SIZE = 100
|
|||
COUNTRY_EDITION = 1
|
|||
REGION_EDITION_REV0 = 7
|
|||
REGION_EDITION_REV1 = 3
|
|||
CITY_EDITION_REV0 = 6
|
|||
CITY_EDITION_REV1 = 2
|
|||
ORG_EDITION = 5
|
|||
ISP_EDITION = 4
|
|||
PROXY_EDITION = 8
|
|||
ASNUM_EDITION = 9
|
|||
NETSPEED_EDITION = 11
|
|||
COUNTRY_EDITION_V6 = 12
|
|||
SEGMENT_RECORD_LENGTH = 3
|
|||
STANDARD_RECORD_LENGTH = 3
|
|||
ORG_RECORD_LENGTH = 4
|
|||
MAX_RECORD_LENGTH = 4
|
|||
MAX_ORG_RECORD_LENGTH = 300
|
|||
FULL_RECORD_LENGTH = 50
|
|||
US_OFFSET = 1
|
|||
CANADA_OFFSET = 677
|
|||
WORLD_OFFSET = 1353
|
|||
FIPS_RANGE = 360
|
|||
__package__ = None
|
|
DMA_MAP
|
COUNTRY_CODES
|
COUNTRY_CODES3
|
COUNTRY_NAMES
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 14 13:02:47 2010 | http://epydoc.sourceforge.net |