aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iax2.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-12-06Fix various typos and spelling errors.Bill Meier1-1/+1
svn path=/trunk/; revision=35126
2010-06-13Fix Bug #4868; "Wireshark crash selecting Inter-Asterisk exchange v2 packet ↵Bill Meier1-1/+1
data" See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4868 A field length was being set incorrectly (too large) thus causing packet_hex_apply_reverse_tag() to run off the end of a text_view buffer (thus causing a crash) when attempting to highlight the field bytes in the hex-view pane. ToDo: Add some sanity checking in packet_hex_apply_reverse_tag(). svn path=/trunk/; revision=33212
2010-05-25From Jakub Ruzicka:Anders Broman1-9/+213
Trunk packet support in IAX2 dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4783 svn path=/trunk/; revision=32942
2010-04-28Remove trailing blanks; Also: Altho tabs expanded, use tab-width=8 anyway.Bill Meier1-4/+4
svn path=/trunk/; revision=32587
2010-02-06Renamed some reassembled data texts.Stig Bjørlykke1-1/+1
Removed some check_col(). svn path=/trunk/; revision=31809
2010-02-03Changed "reassembled_length" -> "reassembled.length".Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31776
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-1/+8
reassembly. svn path=/trunk/; revision=31767
2010-01-13From Didier Gautheron:Anders Broman1-5/+2
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofGuy Harris1-2/+2
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. svn path=/trunk/; revision=31319
2009-11-04Check if we have a handle for "v110".Anders Broman1-1/+5
svn path=/trunk/; revision=30823
2009-10-15(Trivial) Fix a typo in a commentBill Meier1-1/+1
svn path=/trunk/; revision=30560
2009-10-12#include <stdio.h> not req'd;Bill Meier1-373/+374
Adjust some spacing. svn path=/trunk/; revision=30552
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-2/+1
* Remove check_col guards svn path=/trunk/; revision=30127
2009-09-06Rename address_to_str() to ep_address_to_str() because:Kovarththanan Rajaratnam1-95/+95
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-08-23Custom columfication:Kovarththanan Rajaratnam1-4/+0
* Deprecate COL_CIRCUIT_ID (Circuit ID). Use iax2.call svn path=/trunk/; revision=29515
2009-08-21Also fake empty field_info's by gracefully handling NULL field_info pointer ↵Kovarththanan Rajaratnam1-1/+1
elsewhere. svn path=/trunk/; revision=29490
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-89/+82
(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
2009-05-13Apply some of the patches from:Anders Broman1-2/+1
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-04-07Use some default true_false_string's.Bill Meier1-21/+15
svn path=/trunk/; revision=27983
2009-03-11Get the build going again on non-Windows compilers.Jaap Keuter1-10/+13
svn path=/trunk/; revision=27697
2009-03-11From Carlos Mendioroz:Anders Broman1-13/+74
IAX2 calls statistics window ala RTP. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3217 svn path=/trunk/; revision=27696
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-08-08Add Linux AF_ values to epan/aftypes.h; IAX2 implicitly uses them.Guy Harris1-11/+26
Have the IAX2 dissector include <epan/aftypes.h> and use the Linux AF_ values from it. Point to the IAX2 I-D, and add some clarifying comments. svn path=/trunk/; revision=25962
2008-07-11Change a string's declaration from guint8 to a gcharJeff Morriss1-1/+1
svn path=/trunk/; revision=25708
2008-07-01Fix bug "iax2 dissector always reports retransmission bit to be false"Anders Broman1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2666 svn path=/trunk/; revision=25652
2008-06-28Fix some warnings reported by gcc -Wshadow ...Bill Meier1-5/+5
svn path=/trunk/; revision=25628
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-3/+3
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-08-08Fix the buildJaap Keuter1-0/+4
svn path=/trunk/; revision=22466
2007-08-07remember to dissect IEs which we rely on elsewhere, even when there is noRichard van der Hoff1-24/+36
packet tree. svn path=/trunk/; revision=22464
2007-06-29Fix for bug 1585:Jaap Keuter1-20/+52
Add new frame types for IAX protocol and modem subclass dissection. svn path=/trunk/; revision=22226
2007-04-26memmove() is needed only if the source and destination might overlap.Guy Harris1-1/+1
svn path=/trunk/; revision=21589
2007-04-26Make ADD_ADDRESS_TO_HASH() take a pointer to an address as an argument,Guy Harris1-1/+1
as the other address macros do. svn path=/trunk/; revision=21588
2007-04-26Get rid of unused variable.Guy Harris1-1/+0
svn path=/trunk/; revision=21582
2007-04-26Get rid of no-longer-needed variable.Guy Harris1-1/+0
svn path=/trunk/; revision=21580
2007-04-26Rename HASH_ADDRESS to ADD_ADDRESS_TO_HASH, to make it clearer what itGuy Harris1-1/+1
does (i.e., it will add the address bytes to the value that's already there - it will not initialize the value, so you have to clear it before doing any hashing). svn path=/trunk/; revision=21578
2007-04-26Add a macro for hashing the bytes of an address into a hash value.Guy Harris1-4/+1
Use it in the IAX2 dissector and in the conversation code. svn path=/trunk/; revision=21577
2007-04-26The data pointer of an address structure is a void *; convert it to aGuy Harris1-1/+3
guint8 * in order to look at the raw bytes of the address. svn path=/trunk/; revision=21576
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-3/+3
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-27Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors Stephen Fisher1-3/+3
svn path=/trunk/; revision=21233
2007-03-23fix a lot more warningsUlf Lamping1-2/+2
svn path=/trunk/; revision=21142
2007-02-21From Richard van der Hoff:Anders Broman1-3/+15
This patch makes the defragmentation code in the iax2 dissector handle pinfo->desegment_len=DESEGMENT_ONE_MORE_SEGMENT, in line with Ronnie's changes to the tcp dissector of 11 November. svn path=/trunk/; revision=20892
2006-06-23coverity 174Ronnie Sahlberg1-3/+6
ifdef out a few lines of dead code for a feature that is not yet finished remove two compiler warnings about uninitialized variables (they are not uninitialized, just gcc being dumb) svn path=/trunk/; revision=18558
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-5/+5
svn path=/trunk/; revision=18196
2006-01-05Bill Meier:Jörg Mayer1-1/+1
Spelling fixes. svn path=/trunk/; revision=16956
2005-10-11From Richard van der HoffAnders Broman1-92/+95
Here's another rework of the iax desegmentation logic, which fixes bug 515 and its dupes. svn path=/trunk/; revision=16193
2005-10-04From Richard van der HoffAnders Broman1-54/+88
I've spotted a bug in the new desegmentation in iax2, which means that higher-level PDUs aren't dissected when they ought to be, but tend to be grouped together in later packets - I've attached a patch against svn r16110 to fix this; it also makes the code a bit clearer... svn path=/trunk/; revision=16121