aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.h
AgeCommit message (Collapse)AuthorFilesLines
2010-04-27Fix a gcc -Wshadow warning; Fix a comment;Bill Meier1-1/+1
Use consistent indentation. svn path=/trunk/; revision=32581
2010-04-27Added Manual IP address resolve functions.Stig Bjørlykke1-0/+3
This can later be extended with ethernet and probably other addresses. svn path=/trunk/; revision=32571
2010-04-03 From Yaniv Kaul: constify parametersBill Meier1-6/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 From me: Fix a number of instances where the function prototype or the function definition wasn't changed so there was a mismatch thus causing Windows (but not gcc) compilation errors. svn path=/trunk/; revision=32365
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.Bill Meier1-3/+3
svn path=/trunk/; revision=32361
2010-04-02From Yaniv Kaul: constify parametersBill Meier1-3/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 svn path=/trunk/; revision=32360
2009-12-24Have get_host_ipaddr and get_host_ipaddr6 return FALSE if network nameGerald Combs1-1/+5
resolution is disabled. Fix some indentation. svn path=/trunk/; revision=31361
2009-12-24If we're using c-ares, have get_host_ipaddr and get_host_ipaddr6 timeGerald Combs1-7/+17
out after 250ms. This should fix the annoying freeze in bug 658. svn path=/trunk/; revision=31360
2009-12-22Change host_name_lookup_process to return TRUE if anything new has beenGerald Combs1-2/+8
resolved since the last time it was called. Use this to redraw the packet list and detail any time we have newly-resolved objects. svn path=/trunk/; revision=31350
2009-09-07Constify some functionsKovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29773
2009-09-07ntroduce some seasonal address name lookup functions which we use when ↵Kovarththanan Rajaratnam1-0/+1
NEW_PACKET_LIST is defined. This change partially reverts some parts of r29768, which didn't seem to work because it assumed that get_addr_name() would always return a seasonal string. This wasn't the case if the adddress type was AT_STRINGZ. svn path=/trunk/; revision=29771
2009-09-06Rename address_to_str() to ep_address_to_str() because:Kovarththanan Rajaratnam1-3/+3
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). svn path=/trunk/; revision=29747
2009-07-17From Kovarththanan Rajaratnam:Anders Broman1-1/+1
Optimize column fill path. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3701 svn path=/trunk/; revision=29130
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-2/+2
equivalent API gtk_timeout_add() ==> g_timeout_add gtk_timeout_remove() ==> g_source_remove() Also: timer callback should return gboolean (not void or gint) svn path=/trunk/; revision=25672
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. Guy Harris1-2/+2
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not ready to enable that warning by default yet. Throw in some casts to handle GLib routines that take arbitrary non-const pointers (they can later return the pointers, and some callers might want to modify or free up those pointers in cases where they're known to be writable or allocated). Use ep_tvb_memdup() rather than a combination of ep_alloc() and tvb_memcpy(). Clean up some indentation. svn path=/trunk/; revision=25601
2007-09-28Changes get_addr_name_buf() to use the more common convention where the ↵Mike Duigou1-3/+3
provided buffer size is the entire size of the buffer including the space for the terminating \0 svn path=/trunk/; revision=23016
2007-01-18PutGuy Harris1-0/+8
#ifdef __cplusplus extern "C" { #endif /* __cplusplus */ ... #ifdef __cplusplus } #endif /* __cplusplus */ wrappers into some header files, for the benefit of C++ plugins. Also, add multiple-include protections. svn path=/trunk/; revision=20485
2006-06-20Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variableGerald Combs1-1/+1
definition in the Catapult DCT2000 code. svn path=/trunk/; revision=18524
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-1/+1
svn path=/trunk/; revision=18268
2006-05-28Ethereal->WiresharkAnders Broman1-1/+1
svn path=/trunk/; revision=18234
2006-05-22ethereal->wireshark updatesRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18206
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-09-20Francesco Fondelli; Add dcp supportJörg Mayer1-0/+6
svn path=/trunk/; revision=15897
2005-08-17update some comments pointing out these buffers need not be freedRonnie Sahlberg1-4/+7
svn path=/trunk/; revision=15391
2005-05-20add get_manuf_name_if_known (returns NULL if unknown) in addition to ↵Ulf Lamping1-0/+3
get_manuf_name svn path=/trunk/; revision=14405
2005-02-22From Francisco Alcoba:Luis Ontanon1-7/+21
changed the behaviour of get_addr_name: - resolve to a name if the address supports it - call address_to_str if it does not, but the address is valid - return "NONE" if it is AT_NONE svn path=/trunk/; revision=13463
2005-01-07Include <epan/address.h>, as per a suggestion by Thomas Boehne - not allGuy Harris1-0/+2
dissectors using the address resolution routines need to know about the "address" structure, so not all of them would include <epan/address.h> themselves. svn path=/trunk/; revision=12978
2004-12-30Add a "get_addr_name()" routine that takes an "address *" and attemptsGuy Harris1-3/+21
to resolve it to a name. Fix up some const-pointer-to-non-const-pointer, and function-pointer-to-void-*, conversions. Fix some comments. svn path=/trunk/; revision=12863
2004-11-17Add a hash table for IPv6 addresses, and add an "add_ipv6_name()"Guy Harris1-0/+3
routine to add IPv6-address/name pairings to that table; use that when reading the hosts file. svn path=/trunk/; revision=12537
2004-11-17Rename some routines and structures to reflect that they're specific toGuy Harris1-2/+2
IPv4; use different data structures for port numbers. svn path=/trunk/; revision=12536
2004-08-09Merge the "resolv" rename changes with the trunk.Gerald Combs1-1/+1
svn path=/trunk/; revision=11638
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-0/+141
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615