summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-teamspeak2.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-26/+26
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-33/+33
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-15/+15
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-08-31Second try to move crc routines to libwsutil.Stig Bjørlykke1-1/+2
This time keep the tvb routines in epan. Now we can use common crc routines outside epan. svn path=/trunk/; revision=38810
2011-08-30Revert r38800, as the crc routines contains some tvb functions.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38803
2011-08-30Move all crc routines to libwsutil.Stig Bjørlykke1-1/+1
This way we can use the crc routines in wiretap. svn path=/trunk/; revision=38800
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+8
svn path=/trunk/; revision=35705
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-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-02-24Fix for bug 3926:Gerasimos Dimitriadis1-11/+75
Enhance decoding of TS2 channel list svn path=/trunk/; revision=31993
2010-02-06Renamed some reassembled data texts.Stig Bjørlykke1-2/+2
Removed some check_col(). svn path=/trunk/; revision=31809
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-0/+9
reassembly. svn path=/trunk/; revision=31767
2009-10-11Switch over to using seasonal memory instead of g_mem_chunkS which are ↵Kovarththanan Rajaratnam1-13/+3
deprecated svn path=/trunk/; revision=30502
2009-10-11Remove redundant forward declarationsKovarththanan Rajaratnam1-4/+0
svn path=/trunk/; revision=30485
2009-10-11Don't clear INFO column. We do that implicitly when we do a col_add_fstr().Kovarththanan Rajaratnam1-4/+3
svn path=/trunk/; revision=30484
2009-10-11Don't use C++ reserved keyword 'class'Kovarththanan Rajaratnam1-51/+51
svn path=/trunk/; revision=30483
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-2/+2
* Remove check_col guards svn path=/trunk/; revision=30127
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29446
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-5/+5
(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-01-28Minor changes mostly related to proto_register & proto_reg_handoff;Bill Meier1-315/+340
- Use 'dissector standard template format' - Remove 'once-only' ["if (!initialized) ..."] if not req'd - Misc Also: adjust some indentation svn path=/trunk/; revision=27324
2008-12-05(Minor reformat of switch statements)Bill Meier1-40/+2
svn path=/trunk/; revision=26925
2008-12-05fix crash when selecting some specific frames; fix ↵Bill Meier1-14/+37
conversation/fragmentation bugs - Do reassembly tbl init and conversation private data init via registered init; (Also fixes memory leak of conversation private data each time new capture read) - Do fragmentation stuff when first visiting packet (even if tree==NULL). svn path=/trunk/; revision=26924
2008-10-05Minor cleanup related to proto_register and/or proto_reg_handoffBill Meier1-24/+15
ep_alloc + memset --> ep_alloc0 (teamspeak2) svn path=/trunk/; revision=26356
2008-08-25#include <prefs.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26089
2008-08-09Fix an se_leakLuis Ontanon1-3/+8
svn path=/trunk/; revision=25974
2008-08-09From Brooss (bug 2373):Stig Bjørlykke1-0/+1166
Added TeamSpeak2 dissector From me: - Made all local functions static - Renamed my_vals to conv_vals - Call correct function to parse LOGINEND - Fixed some obvious errors in typenames list - Fixed some indentation svn path=/trunk/; revision=25973