summaryrefslogtreecommitdiff
path: root/epan/geoip_db.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-03Rename ipv6-utils.h to ipv6.h.Guy Harris1-1/+1
By analogy to ipv4.h. Change-Id: I147565b332024b1bb88e9cd15889255773d04524 Reviewed-on: https://code.wireshark.org/review/13034 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-18Remove emem from GeoIPMichael Mann1-4/+4
Change-Id: Ifa96dc38a277b86c28f762489251dcc595afae67 Reviewed-on: https://code.wireshark.org/review/6603 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-09-05Qt: Refactor ConversationDialog for endpoints.Gerald Combs1-2/+4
Create a TrafficTableDialog (for lack of a better name) parent class from the general parts of ConversationDialog. Use it to create EndpointsDialog. Move the contents of conversation_tree_widget.{cpp,h} to conversation_dialog.{cpp,h} to match endpoint_dialog and traffic_table_dialog. Fill in GeoIP columns dynamically instead of using a hard-coded limit. Use "endp_" and "ENDP_" prefixes for a lot of endpoint variables and defines. Try to make geoip_db_lookup_ipv4 and geoip_db_lookup_ipv6 more robust. Clean up some includes. Fix a shadowed variable. Change-Id: I23054816ac7f8c6edb3b1f01c8536db37ba4122d Reviewed-on: https://code.wireshark.org/review/3462 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-17Add extern C if cplusplus (when use with Qt) Add Modelines (and fix indent ↵Alexis La Goutte1-0/+21
use 4 spaces for oids.h) svn path=/trunk/; revision=53387
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-6/+7
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-12-26geoip_db_get_paths() is exported from libwireshark, so it has to existGuy Harris1-4/+0
regardless of whether we have GeoIP or not. However, regardless of whether it's exported from GeoIP or not, it should return a g_mallocated string. svn path=/trunk/; revision=46798
2012-12-26Don't define geoip_db_get_paths() unless we have GeoIP - we don't use itGuy Harris1-0/+4
unless it's defined. svn path=/trunk/; revision=46791
2012-07-08From Evan Huus:Guy Harris1-1/+0
Don't initialize GeoIP from epan_init(), as we probably haven't loaded the preferences for it yet (thanks to it's new use of the UAT framework). Instead, register a post_update callback with UAT and load it there. As a bonus, this also means that applying GeoIP preferences no longer requires restarting Wireshark - everything should Just Work with the new databases right away. Fixes bug 7446. svn path=/trunk/; revision=43604
2012-07-06From Michael Mann:Anders Broman1-0/+2
Generic preferences implementation - Printing and Name Resolution. svn path=/trunk/; revision=43579
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-28Constify the "string to return if not found" argument toGuy Harris1-2/+2
geoip_db_lookup_ipv4() and geoip_db_lookup_ipv6(). In both of those routines, "ret" is always set to a non-null value - it's initially set to the aforementioned string - so always return it. svn path=/trunk/; revision=43526
2011-10-05Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but olderGerald Combs1-2/+13
versions *should* be supported. svn path=/trunk/; revision=39280
2009-02-04add display of GeoIP latitude/longitudeUlf Lamping1-0/+7
This is a crude hack, as the current Wireshark interface to GeoIP is not really suitable for reading several values of a single GeoIP database :-( svn path=/trunk/; revision=27365
2008-12-23Add GeoIP to the Windows build. Fix a remaining geoip_ -> geoip_db_Gerald Combs1-4/+4
conversion. svn path=/trunk/; revision=27098
2008-12-19Rename geoip.[ch] to geoip_db.[ch] so we don't collide with GeoIP.h. RenameGerald Combs1-0/+75
some functions to match. Add GeoIP lookups to the IP dissector. Add a preference for GeoIP lookups, which is disabled by default. svn path=/trunk/; revision=27063