aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-igmp.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-5/+3
svn path=/trunk/; revision=49920
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-3/+3
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-04-13Remove doubled semicolons and semicolons outside function.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=42053
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-2/+2
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-09-28Add modeline. For now, add it at the bottom with tabstop=8, as that's where ↵Chris Maynard1-1/+15
and what most others are using. svn path=/trunk/; revision=39177
2011-09-26Some whitespace cleanup. FALSE -> ENC_BIG_ENDIAN. Remove most check_col()'s.Chris Maynard1-172/+153
svn path=/trunk/; revision=39159
2011-09-26From Thomas Morin via bug #6395: Improve display for IGMPStephen Fisher1-3/+6
svn path=/trunk/; revision=39156
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-17/+17
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-05-11Show version as generated field.Jaap Keuter1-10/+14
svn path=/trunk/; revision=32756
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis1-2/+2
svn path=/trunk/; revision=30995
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-7/+7
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-3/+3
svn path=/trunk/; revision=27050
2008-05-14Fix some of the Errors/warnings detected by checkapi.Bill Meier1-1/+3
svn path=/trunk/; revision=25290
2008-01-25From Thomas Morin:Jaap Keuter1-8/+114
I have written the attached patch to improve the userfriendly-ness of the summary displayed in the last column of the packet list for IGMP packets. The current code only tells the user the type of packet (REPORT, LEAVE, QUERY), but doesn't include any information about what multicast group is joined to or left. Worse, for IGMPv3 Reports the user cannot tell quickly if the multicast group is joined-to or left, without having to look at the inside of the packet to know the type of report (include all, include none, exlude none, exclude all, etc.). svn path=/trunk/; revision=24190
2006-10-28Based on RFC3488. This is a setup for RGMP dissection, a simple protocol ↵Jaap Keuter1-2/+24
bolted on IGMP. svn path=/trunk/; revision=19722
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-01-05Bill Meier:Jörg Mayer1-6/+6
Spelling fixes. svn path=/trunk/; revision=16956
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris1-1/+1
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-08various code cleanup:Ulf Lamping1-5/+1
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2005-07-30Include .h into .c to make sure declarations match.Jörg Mayer1-1/+2
Fix a copy/paste in the .h surrounding ifndef. One char -> const char fix. svn path=/trunk/; revision=15157
2005-07-09Squelch various signed vs. unsigned warnings by:Guy Harris1-1/+1
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-07-08checksum messages: use "[correct]" instead of "(correct)" and other "alike" ↵Ulf Lamping1-2/+2
messages svn path=/trunk/; revision=14880
2005-04-01Give the RFC number for IGMPv3.Guy Harris1-2/+2
svn path=/trunk/; revision=13990
2004-09-29Move various tables into the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12130
2004-09-28Move various checksum routines and headers to epan.Guy Harris1-1/+1
svn path=/trunk/; revision=12117
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1097
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410