aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-manolito.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris1-2/+2
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-08-17remove g_malloc from manolitoRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=15383
2005-07-30More char -> const char fixesJörg Mayer1-2/+2
Declare some functions static svn path=/trunk/; revision=15158
2005-07-09Squelch various signed vs. unsigned warnings by:Guy Harris1-5/+5
making pointers to byte data be "guint8 *" rather than "char *", and making buffers holding byte data arrays of "guint8" rather than arrays of "char"; making pointers to text strings "char *" rather than "guchar *"; appropriately casting pointers (cast to "guint8 *" when passing to routines expecting "guint8 *" or when assigning to "guint8 *"); making port-number preferences "guint"; making enum preferences "gint"; making hf_ variables "int". Clean up white space. svn path=/trunk/; revision=14884
2005-03-16Replace malloc()/free() with g_malloc()/g_free().Gerald Combs1-2/+2
svn path=/trunk/; revision=13784
2005-03-16Doing a g_assert() that can fail with data that could appear in a packetGuy Harris1-4/+10
is wrong; cast the "guint8" value to "guint" to widen it, so that adding 1 to it doesn't overflow. (But I don't think that cast should be necessary - the "usual arithmetic conversions" in C should widen the value anyway.) svn path=/trunk/; revision=13770
2005-03-16close potential overflow causing malloc to allocate 0 bytesRonnie Sahlberg1-0/+1
svn path=/trunk/; revision=13766
2004-08-06From Jeff Connelly: MANOLITO support.Guy Harris1-0/+295
svn path=/trunk/; revision=11614