aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-HI2Operations.c
AgeCommit message (Collapse)AuthorFilesLines
2024-08-07Dissectors: Include what you use.Anders Broman1-0/+2
2024-07-05epan: Convert ASN.1 dissectors to C99Stig Bjørlykke1-5/+5
Ping #19116
2024-07-03ASN1: call asn1_ctx_init() with true rather than TRUEMartin Mathieson1-2/+2
2024-07-01ASN protocols: update APIs and generated code for boolMartin Mathieson1-2/+2
2024-06-15epan: changed heur_dissector_t to boolJoakim Karlsson1-1/+5
used by heur_dissector_add(const char *name, heur_dissector_t dissector, ..
2024-04-14Switch some GLib-isms in asn2wrs.py to their C99 equivalentsGerald Combs1-113/+113
Update convert-glib-types.py to exclude quoted TRUE and FALSE strings. Regenerate our ASN.1 dissectors. Ping #19116
2024-03-14Tools: Add a quiet option to asn2wrsGerald Combs1-1/+1
Duplicate type and field names don't seem to be a big problem, so add a "-q" option to asn2wrs which suppresses those warnings. Use it in the "asn1" CMake target.
2023-11-20Remove init of proto variablesStig Bjørlykke1-1/+1
Remove init of proto, header field, expert info and subtree variables. This will reduces the binary size by approximate 1266320 bytes due to using .bss to zero-initialize the fields. The conversion is done using the tools/convert-proto-init.py script.
2023-11-02asn2wrs: Update to not initialize static proto valuesStig Bjørlykke1-617/+617
2023-08-08Convert asn2ws to generate C99 typesAnders Broman1-230/+230
2023-04-25HI2Operations: lift to ETSI TS 101 671 v3.15.1Joakim Karlsson1-2246/+3493
Added EpsHI2Operations handle
2022-11-30asn2wrs: disable template line directive by defaultJoakim Karlsson1-33/+0
Same as with !8955, To debug with line directive build with -DENABLE_DEBUG_A2W=ON flag
2022-11-30asn2wrs: disable line directive by defaultJoakim Karlsson1-7/+1
To debug with line directive build with -DENABLE_DEBUG_A2W=ON flag
2021-12-02BER: Make GeneralizedTime a FT_ABSOLUTE_TIMEJohn Thacker1-2/+2
Since we now support ISO 8601 Basic format, have asn2wrs.py convert GeneralizedTime fields in BER to FT_ABSOLUTE_TIMEs and use the new common code to convert them. This means that the fields can be compared with other time fields in filters, etc.
2021-11-02Lift restriction on upper case protocol display filter namesJoão Valverde1-1/+1
Unlike other header fields in filter expressions protocol names cannot contain upper-case letters. Remove that restriction. This should make start-up slightly faster as it remove an extra loop for each protocol filter name. This was added in 9ead15a6eb16be93559d71b4083948338ab9d26e but I don't see a reason to have different rules for protocols and fields, it seems the README.developer was just being vague and conflating PROTOABBREV with PROTOFILTERNAME. The recommendation for lower case is a style recommendation, and it's a good one, but it should be applied uniformly. As long as we are not enforcing this for all field filter values there is no point in enforcing it just for protocol names and actually it is detrimental, e.g: hi2operations HI2Operations.IRIsContent HI2Operations.UUS1_Content_element HI2Operations.iRIContent HI2Operations.iRISequence HI2Operations.IRIContent HI2Operations.iRI_Begin_record_element HI2Operations.iRI_End_record_element HI2Operations.iRI_Continue_record_element HI2Operations.iRI_Report_record_element (...) It's weird and unexpected to have this difference and there is no technical reason to require it. What we should probably do is not include the protocol name in the FIELDFILTERNAME and have the registration mechanism append it to the PROTOFILTERNAME. Also disallow leading '-' everywhere in filter names, not just protocol filter names. It's a universal requirement.
2020-12-15asn2wrs: Rename duplicated filter namesAnders Broman1-40/+40
2020-01-11ber: display x509af.utcTime year in 4 digitsAndre Luyer1-1/+1
Because: - the 2-digit year can only be in the range 1950..2049 according to https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 - to avoid confusion, interpreting the year/month/day in a different order may still represent a valid date. - now both utcTime and GeneralizedTime are displayed in exactly the same way. - some tools, like Perl, apply a different date range when converting 2-digit years. In packet-ber.c two parameters are added to the function dissect_ber_UTCTime: datestrptr: if not NULL return datetime string instead of adding to tree or NULL when packet is malformed tvblen: if not NULL return consumed packet bytes Also the memory allocation for outstr is now done using the recommended method as described in the README.developer document. The calling function in x509af/x509sat uses this to prepend the century. Added generated files. Change-Id: I714c2e8e7f899211caaa1f4136ca0d27cb1aba4a Reviewed-on: https://code.wireshark.org/review/35414 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-04-03ASN.1: Use proto_tree_add_bitmask... () for named bits.Anders Broman1-10/+10
Change-Id: Ied0c91ea070ee76603e7ecb29d874e0c1a65892e Reviewed-on: https://code.wireshark.org/review/32684 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-06H2Operations: Fix Dead Store (Dead assignement/Dead increment) Warning found ↵Alexis La Goutte1-1/+1
by Clang Change-Id: I9913b9653fedeb9cc119f10632f4c96fe54027b4 Reviewed-on: https://code.wireshark.org/review/31408 Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2018-12-26No need to export a dissector for UUS1-Content_PDUs.Alexis La Goutte1-8/+8
Nothing else uses it. Change-Id: I1de8ced2ceeaf02f2c9eeeef9b6680d5ad7f4794 Reviewed-on: https://code.wireshark.org/review/31201 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-12-06HI2Operations: update auto generated file and remove unused templatePascal Quantin1-3/+3
Change-Id: If31c0fdfac9c450871accba53715dc4d0e6468a6 Reviewed-on: https://code.wireshark.org/review/30939 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-12-05HI2Operations: Remove the not needed .h file.Anders Broman1-9/+8
Change-Id: Iabb24aae94814d4a10fdfa998f870b5e2cd3a8d8 Reviewed-on: https://code.wireshark.org/review/30921 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-12-05Add dissection of HI3CCLinkDataAnders Broman1-10/+231
Change-Id: I002c31972c4bcc231527eeaa2c6b21c3b1a9636a Reviewed-on: https://code.wireshark.org/review/30920 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-18ASN.1: update auto generated dissectorsPascal Quantin1-5/+5
Change-Id: Ic73e72b3d2e7590eaed07f6eb30f74f4303e7a65 Reviewed-on: https://code.wireshark.org/review/25880 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2018-02-12dissectors: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-12/+12
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>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-6/+5
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke1-3/+5
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64 Reviewed-on: https://code.wireshark.org/review/4494 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-7/+5
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-10- Forward declaration of register functions.Anders Broman1-2/+2
svn path=/trunk/; revision=53901
2013-12-09- Forward declaration of register functions.Anders Broman1-5/+8
svn path=/trunk/; revision=53877
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-89/+89
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
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-5/+5
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-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-02-02Rather than rename the remaining HI2Operations source files in asn1/ (to fix ↵Jeff Morriss1-0/+5168
building of the dissector and make distcheck), revert 40803 and 40801. svn path=/trunk/; revision=40811
2012-02-02packet-HI2Operations.c was sorted into the file list as if it wereJörg Mayer1-5168/+0
spelled packet-hi2operations.c. Rename the file to represent this. svn path=/trunk/; revision=40801
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-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-11/+11
svn path=/trunk/; revision=37118
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-370/+370
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-40/+40
- 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-314/+314
svn path=/trunk/; revision=32744
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-7/+5
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-6/+5
svn path=/trunk/; revision=32405
2010-03-01Try to get rid of unused code warnings.Anders Broman1-19/+0
svn path=/trunk/; revision=32062
2010-03-01Add the missing .cnf file and try to fix unused code warnings.Anders Broman1-290/+5
svn path=/trunk/; revision=32058
2010-02-28From Erwin van Eijk:Anders Broman1-0/+5475
Add ETSI ts101671 dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4543 I added dissection of UmtsQos, IMSevent, LDIevent, TARGETACTIVITYMONITOR-1 TARGETACTIVITYMONITORind, TARGETCOMMSMONITORind, TTRAFFICind, CTTRAFFICind And used the original HI2Operations ASN1 file.l svn path=/trunk/; revision=32053