aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cmip/packet-cmip-template.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-232/+0
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
2015-12-09"new" dissector API -> dissector API for ASN.1 dissectors.Michael Mann1-1/+1
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220 Reviewed-on: https://code.wireshark.org/review/12480 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-04Don't allow multiple registrations of a protocol in dissector tables.Michael Mann1-1/+1
The target here is the Decode As dialog where protocols have multiple registrations into a dissector table and that shows up as multiple entries in the Decode As dialog list with the same name so users are unsure which "dissector" they are choosing. The "default" behavior (done in this commit) is to not allow duplicates for a dissector table, whether its part of Decode As or not. It's just ENFORCED for Decode As. Bug: 3949 Change-Id: Ibe14fa61aaeca0881f9cc39b78799e314b5e8127 Reviewed-on: https://code.wireshark.org/review/11405 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-02-17CMIP: get rid of some evil global variablesPascal Quantin1-13/+0
Fixes an ASAN failure reported by Alexis Note that some global variables remain as I do not know enough on this protocol to safely remove them Change-Id: If392a8f09ef2fc2f2d46871a71149e29fe5e292c Reviewed-on: https://code.wireshark.org/review/7099 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-1/+0
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-09Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors.Michael Mann1-2/+14
This mostly involved adding expert info capabilities to many of the dissectors so that they could correctly flag error conditions. Only remaining proto_tree_add_text calls are in H248.cnf, which has a convoluted way of using hf_ data to make its tree. Change-Id: I6412150c2ec1977d7fa38f3f0ed416680bdfb141 Reviewed-on: https://code.wireshark.org/review/3500 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19batch of manual tvb_length conversionsEvan Huus1-1/+1
Change-Id: Ib3a1ddc4342a7a8648d6ed8bfcb35aa229c56a27 Reviewed-on: https://code.wireshark.org/review/2445 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Update ASN.1 source files with the API changes done in g021e7af"Pascal Quantin1-1/+1
This reverts commit e308e7c4de81c2ff7159e444b865ac59de4faa2b. Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071 Reviewed-on: https://code.wireshark.org/review/2435 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-18Update ASN.1 source files with the API changes done in g021e7afPascal Quantin1-1/+1
Change-Id: I52ecfccbce423206242e3cf99401a8c9e1655d88 Reviewed-on: https://code.wireshark.org/review/2385 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-2/+0
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-02Reject the packet if data is NULL without doing anything else.Chris Maynard1-7/+3
svn path=/trunk/; revision=53737
2013-11-05In an effort to reduce the use of pinfo->private_data (and some true global ↵Michael Mann1-19/+24
variables), I converted the ASN.1 dissectors that use pinfo->private_data to exchange a SESSION_DATA_STRUCTURE to instead only exchange it in the context of ASN.1. This meant converting dissectors to the "new" style to pass the SESSION_DATA_STRUCTURE as well as providing a pointer to it in asn1_ctx_t.private_data. Yes, it's still "private data", but it's not used by all dissectors like pinfo->private data is. svn path=/trunk/; revision=53090
2013-03-20svn path=/trunk/; revision=48440Anders Broman1-0/+3
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=45015
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-02-10Added a dissector table for AttributeId localForm.Stig Bjørlykke1-0/+6
Use correct object identifier in ModificationList. svn path=/trunk/; revision=35894
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-2/+0
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32405
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-09-27Fix a possible dereference of null pointer when having no tree.Stig Bjørlykke1-10/+6
svn path=/trunk/; revision=30174
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-08-03Rework an assignment to keep static analyzers from complaining.Gerald Combs1-4/+4
svn path=/trunk/; revision=29287
2009-06-22More header_field_info cleanup.Stig Bjørlykke1-8/+8
svn path=/trunk/; revision=28802
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...Bill Meier1-1/+0
svn path=/trunk/; revision=27390
2007-10-31Use oid_add_from_string for adding names.Anders Broman1-17/+17
svn path=/trunk/; revision=23318
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-2/+2
svn path=/trunk/; revision=22651
2007-07-01Try to fix defined but not used warnings and use the nice new table function ↵Anders Broman1-42/+1
to get the list of Opcodes. svn path=/trunk/; revision=22227
2007-06-27Try to fix the last defined but not used warnings(again).Anders Broman1-0/+28
svn path=/trunk/; revision=22204
2007-06-25Generate CMIP from original asn1 files with -X and -T option.Anders Broman1-7/+34
svn path=/trunk/; revision=22187
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-47/+7
svn path=/trunk/; revision=21753
2006-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵Tomas Kukosa1-2/+3
packet-ber.c, they were only OID but not BER related use add_oid_str_name() and get_oid_str_name() instead of them svn path=/trunk/; revision=18595
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa1-4/+4
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-08-31Upadte to call Data dissector from PRES based on OID in Presentation Context,Anders Broman1-0/+1
based on the code in ACSE. svn path=/trunk/; revision=15643
2005-08-29MapDialougePDU.cnfAnders Broman1-1/+2
Fix a typo. packet-ber.c packet-acse.c packet-cmip.c - Add OID(s) packet-ses.c Fix export of a value string and change names to the ones used in the protocol spec. Replace PRES dissector with an asn2eth generated one. svn path=/trunk/; revision=15614
2005-08-28Co ordidnate CMIP abd GNM.Anders Broman1-24/+3
svn path=/trunk/; revision=15593
2005-08-26Dissectors registered with "register_ber_oid_dissector()" return void.Guy Harris1-30/+30
Fix the spelling of "attribute". svn path=/trunk/; revision=15537
2005-08-25Fix malformed packet if linkedId is present dissect some OID:sAnders Broman1-0/+99
svn path=/trunk/; revision=15533
2005-08-02Fix svn properties where needed:Jörg Mayer1-1/+1
Remove svn:executable Add svn:eol-style Add svn:keywords svn path=/trunk/; revision=15178
2005-06-25some updates for CMIP.Ronnie Sahlberg1-0/+1
note taht cmip does not yet compile due to a possible asn2eth compiler bug svn path=/trunk/; revision=14756
2005-06-22remove a dissector table we no longer use from ACSERonnie Sahlberg1-6/+0
and also from the CMIP and FTAM dissectors that tried to register against it. Implement a workaround for the asn2eth bug (can not yet handle tagged assignments) to the conformance file and remove the warnings from the template file. Since workaround is implemented in conformance file, make make copy_files install the dissector instead of printing a warning message. svn path=/trunk/; revision=14725
2005-06-19register cmip as ber oid dissectorRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=14697
2005-04-22Define a maximum OID string length, and use it in a lot of places. Fixes aGerald Combs1-3/+3
buffer overflow found while fuzz testing. svn path=/trunk/; revision=14169
2004-12-13update of the asn2eth compiler to use the types ber_[choice|sequence]_t ↵Ronnie Sahlberg1-0/+1
instead of ber_[choice|sequence] regenerated all dissectors fixed the choice/sequence struct to use unsigned entities for class and tag (to reduce some compiler warning and because it should be signed quantities) svn path=/trunk/; revision=12740
2004-11-27it appears that a SES_REFUSE spdu actually contains a CMIP-A-ASSOCIATE and ↵Ronnie Sahlberg1-1/+1
not a CMIP-A-ABORT svn path=/trunk/; revision=12608
2004-11-21cmip update add all remaining functions Arguments and ResultsRonnie Sahlberg1-0/+15
svn path=/trunk/; revision=12570
2004-11-21update to cmipRonnie Sahlberg1-0/+7
add functions m-action and m-action-confirmed svn path=/trunk/; revision=12564
2004-11-14New protocol for the telco people to play with : CMIPRonnie Sahlberg1-0/+163
Only one function is implemented so fat M-Get but it would be trivial to add all the missing ones once there are example captures. svn path=/trunk/; revision=12521