Home
last modified time | relevance | path

Searched refs:geoipv2_src (Results 1 – 2 of 2) sorted by relevance

/dports/net-mgmt/pmacct/pmacct-1.7.5/src/
H A Dnetwork.h370 MMDB_lookup_result_s geoipv2_src; member
H A Dpkt_handlers.c5417 memset(&pptrs->geoipv2_src, 0, sizeof(pptrs->geoipv2_src)); in src_host_geoipv2_lookup_handler()
5427 pptrs->geoipv2_src = MMDB_lookup_sockaddr(&config.geoipv2_db, sa, &mmdb_error); in src_host_geoipv2_lookup_handler()
5466 if (pptrs->geoipv2_src.found_entry) { in src_host_country_geoipv2_handler()
5469 status = MMDB_get_value(&pptrs->geoipv2_src.entry, &entry_data, "country", "iso_code", NULL); in src_host_country_geoipv2_handler()
5545 if (pptrs->geoipv2_src.found_entry) { in src_host_pocode_geoipv2_handler()
5548 status = MMDB_get_value(&pptrs->geoipv2_src.entry, &entry_data, "postal", "code", NULL); in src_host_pocode_geoipv2_handler()
5615 if (pptrs->geoipv2_src.found_entry) { in src_host_coords_geoipv2_handler()
5618 status = MMDB_get_value(&pptrs->geoipv2_src.entry, &entry_data, "location", "latitude", NULL); in src_host_coords_geoipv2_handler()
5639 status = MMDB_get_value(&pptrs->geoipv2_src.entry, &entry_data, "location", "longitude", NULL); in src_host_coords_geoipv2_handler()