aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-qsig.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12Reject the packet if data is NULL. For now, leave the DISSECTOR_ASSERT's ↵Chris Maynard1-14/+23
since both get_rose_ctx() and get_asn1_ctx() also check signatures. svn path=/trunk/; revision=53965
2013-11-03Have rose_ctx_t passed into subdissectors instead of using pinfo->private_data.Michael Mann1-9/+9
svn path=/trunk/; revision=53061
2013-11-02Require dissector_try_string to pass a data parameter to its subdissectors. ↵Michael Mann1-1/+1
There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. svn path=/trunk/; revision=53049
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-300/+300
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-5/+5
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-28-Wmissing-prototypesAnders Broman1-9/+12
svn path=/trunk/; revision=48609
2013-03-19From beroset:Anders Broman1-3/+3
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier1-2/+2
The misspellings were mostly in comments but some were in text strings visible to the user. svn path=/trunk/; revision=47899
2013-02-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris1-1/+1
tvbuff and runs to the end of the tvbuff? Let me count the ways.... Replace a bunch of different ways of doing that (some incorrect, in that they're not properly handling tvbuffs where the captured and reported lengths are different) with tvb_new_subset_remaining(). svn path=/trunk/; revision=47751
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-9/+9
svn path=/trunk/; revision=45110
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-09-10Regenerate all asn.1 dissectors.Jakub Zawadzki1-178/+178
svn path=/trunk/; revision=44861
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-09Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-1/+1
proto_tree_add_item() calls. svn path=/trunk/; revision=42526
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-4/+4
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 ↵Bill Meier1-4/+4
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=39294
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-144/+144
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 svn path=/trunk/; revision=39263
2011-05-06From Ed Day via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5890 :Jeff Morriss1-24/+64
ASN.1 files in trunk/asn1/qsig contain syntax errors that prevent them from being compiled by a standard ASN.1 compiler. A patch of modified files is attached along with General-Error-List.asn which was missing completely. From me: add the new asn file to the list of source files. Add SVN Id tag to the new file. svn path=/trunk/; revision=37005
2011-03-01QSIG: decoding of PSS1InformationElementTomas Kukosa1-8/+23
svn path=/trunk/; revision=36108
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-5/+5
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-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-57/+57
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few more of the ASN.1 dissectorsJeff Morriss1-757/+757
svn path=/trunk/; revision=32746
2010-02-04Initialize a variable to squash a compiler warning.Ronnie Sahlberg1-1/+1
GCC mistakes opcode that it might be uninitialized. This is not true, but GCC can not detect that it will never be used unititialized. svn path=/trunk/; revision=31791
2010-02-04One warning fixedTomas Kukosa1-3/+4
svn path=/trunk/; revision=31785
2010-02-04Support QSIG using global opcode 1.3.12.9.op instead of local one (some old ↵Tomas Kukosa1-8/+50
QSIG implementations) svn path=/trunk/; revision=31783
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-06-26Re-generate asn1 dissectors after hf_register_info cleanup.Stig Bjørlykke1-22/+22
svn path=/trunk/; revision=28848
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-94/+94
(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-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-44/+44
svn path=/trunk/; revision=28379
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...Bill Meier1-10/+9
svn path=/trunk/; revision=27390
2009-01-28#include prefs.h not req'dBill Meier1-10/+9
svn path=/trunk/; revision=27322
2008-11-04asn2wrs generated files changed as a result of recent asn1 template changes Bill Meier1-11/+7
svn path=/trunk/; revision=26698
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-43/+43
svn path=/trunk/; revision=26670
2008-05-21Fix some of the Errors/warnings detected by checkapi.Anders Broman1-38/+40
svn path=/trunk/; revision=25335
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-13/+13
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2007-10-17- register QSIG over SIPTomas Kukosa1-6/+11
- regenerate Q932, Q932-ROS, QSIG from new makefiles svn path=/trunk/; revision=23215
2007-09-17Support of QSIG ExtensionsTomas Kukosa1-259/+283
svn path=/trunk/; revision=22888
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-247/+247
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-07-24QSIG extended with SYNC-SIG operations (ECMA-245)Tomas Kukosa1-306/+557
svn path=/trunk/; revision=22394
2007-07-20QSIG fully implementedTomas Kukosa1-854/+14142
svn path=/trunk/; revision=22361
2007-07-19get rid of few warningsTomas Kukosa1-3/+3
svn path=/trunk/; revision=22355
2007-07-19change QSIG tables structure so as they can be generated automatically from ↵Tomas Kukosa1-382/+418
ASN.1 in the next step svn path=/trunk/; revision=22354
2007-07-02ARGUMENT and RESULT types of OPERATION can be used with new asn2wrs and need ↵Tomas Kukosa1-162/+162
not to be redefined as assignment svn path=/trunk/; revision=22231
2007-06-05Q.932 and QSIG regenerated with -X (new BER) optionTomas Kukosa1-607/+349
svn path=/trunk/; revision=22044
2007-06-04- CLASS definitions support including exports through the *-exp.cnf fileTomas Kukosa1-1/+1
- support of extension in middle of SEQUENCE root elements - new option EMBEDDED_PDV_CB to set default callback - ChoiceValue support at syntax level - ValueSet support at syntax level - exception identifier support - ValueFromObject support at syntax level - next minor changes (to compile X.880 and INAP) - dissectors using classes regenerated svn path=/trunk/; revision=22036
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-160/+160
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-18/+18
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-321/+352
svn path=/trunk/; revision=21753