aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address_to_str.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-16Attempt to squelch some compiler warnings.Guy Harris1-1/+3
svn path=/trunk/; revision=37679
2011-06-14Please don't use prohibited APIs in new code:Stig Bjørlykke1-1/+1
sprintf -> g_snprintf Fixes coverity 1197 & 1198. svn path=/trunk/; revision=37664
2011-05-16Cast away some warnings about alignment; ep_alloc() guaranteesGuy Harris1-1/+1
sufficient alignment for all types of data. svn path=/trunk/; revision=37190
2011-05-08Add FT_EUI64 Field TypeAlexis La Goutte1-0/+31
* Remove proto_tree_add_eui64 function from 802.15.4 Dissector * Replace print_eui64/print_eui64 by eui64_to_str/get_eui64_name * Update Documentation (README.dev) * Add new function in libwireshark.def * Support of encoding for tvb_eui64_to_str * Use FT_EUI64 for ICMPv6, CAPWAP, Zbee ... dissector svn path=/trunk/; revision=37015
2011-05-06Add note about ::/96 being deprecated.Jakub Zawadzki1-0/+23
svn path=/trunk/; revision=37008
2011-05-05Fix false positive compiler warnings:Jakub Zawadzki1-5/+6
address_to_str.c:157: warning: 'cur.len' may be used uninitialized in this function address_to_str.c:157: warning: 'best.len' may be used uninitialized in this function svn path=/trunk/; revision=37001
2011-05-05Introduce ip6_to_str_buf_len (little cleaner version of inet_ntop6 from ↵Jakub Zawadzki1-9/+92
wsutil/inet_ntop.c) and use it instead of inet_ntop(AF_INET6, ...) - Add MAX_IP6_STR_LEN define. - use MAX_IP6_STR_LEN as a buffer size when ip6_to_str_buf() is used. svn path=/trunk/; revision=37000
2011-05-05Subtract (not add!) preamble length from remaining buffer length.Jakub Zawadzki1-2/+3
svn path=/trunk/; revision=36998
2011-02-11Rename vines_to_str() to tvb_vines_to_str() and make it take a pointer a TVBJeff Morriss1-2/+2
and an offset instead of (generally) a pointer into a TVB. Move most of the contents of packet-vines.h into packet-vines.c: the moved content is only needed in that file. svn path=/trunk/; revision=35912
2011-01-21Introduce, and start using, tvb_eth_to_str().Jeff Morriss1-0/+6
Export tvb_*_to_str() and put them in alphabetical order. svn path=/trunk/; revision=35602
2011-01-16Introduce, and start using, tvb_fc_to_str() and tvb_fcwwm_to_str(): theseJeff Morriss1-0/+12
functions act like their non-tvb counterparts except that they take a tvb and and offset instead of a pointer to a byte array. This basically saves the dissectors from having to call tvb_get_ptr()--which in this case eliminates a couple of typos in the length given to tvb_get_ptr(). svn path=/trunk/; revision=35549
2011-01-13Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str(). TheseJeff Morriss1-1/+23
do the same as the non-tvb equivalents but take a TVB and an offset instead of a pointer to an array of bytes. Their purpose is to prevent (many) dissectors from doing: ip_to_str(tvb_get_ptr(...)). (About the names and the location: I like the names as they are but the names imply that they should live in tvbuff.c. That would make some sense but I didn't want to pull to_str.h into tvbuff.c...) svn path=/trunk/; revision=35519
2010-11-17From Slava via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5335 :Jeff Morriss1-0/+17
This patch adds to Wireshark the ability to dissect Infiniband SDP (Socket Direct Protocol) and CM MADs traffic. It also contains various other bug-fixes and enhancements. SDP traffic can be identified automatically (analyzing SDP CM MADs) or manually. SDP, or Sockets Direct Protocol, is a protocol developed by the Infiniband Trade Association which enables existing socket-based applications to transparently utilize the Infiniband capabilities. This patch is submitted on behalf of Mellanox Technologies Ltd. svn path=/trunk/; revision=34918
2010-05-28Move some code (including the optional objects) into libwsutilJeff Morriss1-2/+2
svn path=/trunk/; revision=33012
2010-04-03 From Yaniv Kaul: constify parametersBill Meier1-2/+2
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-02-27From Jakub Zawadzki: split off the address-to-string functions, exceptGuy Harris1-0/+406
for ip_to_str_buf(), into address_to_str.c. Fix up the SVN attributes for time_fmt.h while we're at it. svn path=/trunk/; revision=32038