Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
_mmdb_lookup_t Struct Reference

Holds the result of a MaxMind database (MMDB) geolocation and ASN lookup for a single IP address. More...

#include <maxmind_db.h>

Public Attributes

bool found
 
const char * country
 
const char * country_iso
 
const char * city
 
uint32_t as_number
 
const char * as_org
 
double latitude
 
double longitude
 
uint16_t accuracy
 

Detailed Description

Holds the result of a MaxMind database (MMDB) geolocation and ASN lookup for a single IP address.

Member Data Documentation

◆ accuracy

uint16_t _mmdb_lookup_t::accuracy

Estimated accuracy radius of the geolocation result, in kilometers.

◆ as_number

uint32_t _mmdb_lookup_t::as_number

Autonomous System (AS) number associated with the IP address, or 0 if unavailable.

◆ as_org

const char* _mmdb_lookup_t::as_org

Name of the organization owning the AS, or NULL if unavailable.

◆ city

const char* _mmdb_lookup_t::city

City name associated with the IP address, or NULL if unavailable.

◆ country

const char* _mmdb_lookup_t::country

Full name of the country associated with the IP address, or NULL if unavailable.

◆ country_iso

const char* _mmdb_lookup_t::country_iso

ISO 3166-1 alpha-2 country code (e.g. "US", "DE"), or NULL if unavailable.

◆ found

bool _mmdb_lookup_t::found

True if the lookup produced a result; false if the IP address was not found in the database.

◆ latitude

double _mmdb_lookup_t::latitude

Geographic latitude of the IP address location in decimal degrees.

◆ longitude

double _mmdb_lookup_t::longitude

Geographic longitude of the IP address location in decimal degrees.


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