aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-1/+1
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39490 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-18Do some more conversions of proto_tree_add_item() 'encoding' argwmeier1-2/+2
(previously missed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39450 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert plugin files proto_tree_add_item() 'encoding' arg for field types ↵wmeier1-7/+7
FT_STRING, FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39429 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-240/+240
plugins/*: 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 an earlier SVN) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39329 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-261/+261
plugin 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39292 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-59/+59
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|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39262 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-17Fix Unused varaiable warnings.etxrab1-2/+1
CID 1163 - 1166 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36675 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-02A bit of Windows makefiles rework and cleanup:wmeier1-2/+3
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35747 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-02Fix some cut-and-pasteos and other typoes.guy1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35328 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-2/+2
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-24Plugins are not shared libraries, so:guy1-1/+0
1) don't set thei SOVERSION - run-time-loaded modules don't have an SOVERSION; 2) build them with link mode MODULE, not SHARED, on all platforms. (Fixing 1) also fixes the problem with building them as MODULE on OS X.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34243 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23H. Sivank <hsivank@gmail.com>jmayer1-1/+1
I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34201 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-12(Trivial) Use consistent indentation; Whitespace cleanup.wmeier1-244/+244
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33788 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-12Add new expansion.h file left out of the previous commit.wmeier1-0/+41
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33787 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-12From Don Newton: Added dissection of Expansion Module (KEM,GEM) messages to ↵wmeier2-0/+124
Unistim plugin. From me: Add expansion.h to list of .h files in Makefile.common; #include <stdio.h> not required. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33786 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-27From Don Newton:jake1-3/+3
Fails to decrement msg_len on 3 different message types which causes the dissector to attempt to decode an addition or misplaced unistim cmd. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33643 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-09The only reason to escape "%" in a string is if you are, incorrectly,guy2-71/+23
passing a string directly to a routine that expects a format string. The correct way to handle that is to pass "%s" as the string. As long as you're escaping non-printable characters, just let tvb_format_string() handle that. For null-terminated strings, get the length of the string with tvb_strsize(), and then just put the string into the protocol tree as a regular item. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33482 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-14Synchronize Makefiles even more.jake1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32808 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-14Add Cmake stuff to the source distribution so more people can try it out.morriss1-4/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32807 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06Get rid of check_coletxrab1-9/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32401 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-18cmake changes:jmayer1-2/+3
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32231 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-16Fix some compiler warnings, clean up indentation a bit.guy1-19/+20
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32201 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-25Generate asn1/hnbap/Makefile.guy1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31997 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-28Fix gcc -Wshadow warning;wmeier1-1349/+1348
Move proto_register... and proto_reg_handoff... to the end of the file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31723 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-17Beginnings of enabling static builds. Still to do:jmayer1-1/+1
* Add -static * Registration may need different handling * Add plugins * Build error in wslua git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30987 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-07cmake will now honor -Werror if configured (default: on)jmayer1-3/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30852 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-09Use register_dissector_files in the plugins dissectorskrj1-25/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30435 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-06Build plugins with cmake on OSX.stig1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30373 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-25Forgot to commit the unistim cmakefilejmayer1-0/+75
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30145 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-13Run checkapi on the dissector header filesmorriss2-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29883 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-09We no longer support the old plugin API so remove it completely from the ↵krj1-1/+1
build system git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29821 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-3/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29346 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29341 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-07Removed header_field.hstig1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28999 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-07From Kovarththanan Rajaratnam:stig1-1/+1
More FT_XXX cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28970 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-07From Kovarththanan Rajaratnam via bug 3548:stig2-1333/+1299
Move header_field.h into packet-unistim.c to align it with all other dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28967 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-24From Kovarththanan Rajaratnam:stig1-9/+9
More hf_register_info related cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28832 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-19Get info about media type(Video or not) a first step towards usage in rtp ↵etxrab1-1/+1
statistics. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28415 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-16Fix Win64 compilation problems in the plugins directory.gerald1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28064 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-27Replace some unnecessary use of g_snprintf and g_strdup_printfwmeier1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27864 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-02Disable manifest building for our DLLs. This attempts to fix bug 3272.gerald1-3/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27579 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-02add missing mt.exe calls, to include manifest files into exe / dll filesulfl1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27357 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-22Fix some typos and spelling (mostly in text strings)wmeier4-12/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27085 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-04Unistim still eats the TAPA packets :-(jmayer1-1/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26910 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-02From Don Newton:jake1-10/+31
Set default port of Unistim back to 5000; The Unistim dissector is made a heuristic dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26904 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-02From Don Newton:jake4-2/+64
Flesh out call duration timer message. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26898 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26652 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-28Minor cleanup related to proto_register/proto_reg_handoff ...wmeier1-8/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26596 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-29Allow checkapis target to work in out-of-tree builds (s#../../#$(top_srcdir)).morriss1-1/+1
Also use $(top_builddir) instead of ../../ in a couple of other spots. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25863 f5534014-38df-0310-8fa8-9805f1628bb7