Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str(). These
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 13 Jan 2011 15:53:30 +0000 (15:53 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 13 Jan 2011 15:53:30 +0000 (15:53 +0000)
commit202747b601df9fab2e39f1d29d8c0fe78060dc24
treeab37d05388aa0483bd3c43e36ad614f9fee2863f
parent13b6b1c69c8f0378b22aa006d957e035c2a83ba2
Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str().  These
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...)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35519 f5534014-38df-0310-8fa8-9805f1628bb7
epan/address_to_str.c
epan/dissectors/packet-3g-a11.c
epan/dissectors/packet-sctp.c
epan/dissectors/packet-sua.c
epan/dissectors/packet-wccp.c
epan/libwireshark.def
epan/to_str.h