aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/lnpdqp/packet-lnpdqp-template.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-31Fix more spellings - mostly commentsMartin Mathieson1-1/+1
2023-11-02asn2wrs: Update to not initialize static proto valuesStig Bjørlykke1-15/+15
2023-09-29tvbuff: support endianness setting for packed BCDMartin Kaiser1-1/+1
ENC_BCD_DIGITS_0_9 and other encodings for packed BCD values are hard-wired to little endian for multi-byte fields. Some dissectors like zvt work around this by calling tvb_get_bcd_string and proto_tree_add_string. The mdb protocol is also using multi-byte packed BCD fields in big-endian order. This patch allows setting ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN in combination with the BCD encodings. Unfortunately, we have to default to big endian and fix up all existing users.
2022-03-29asn1: fix missing dissector generationJoakim Karlsson1-1/+1
2021-07-26asn1: convert most dissectors to pinfo->poolEvan Huus1-2/+2
Part 1/2 as the commits were too big for CI. Largely find/replace, with a few manual tweaks. Then regenerate the asn1 dissector sources and make sure everything still builds. There are a handful of cases I skipped as too complex, but this covers most of the asn1 dissectors.
2020-05-01No explicit glib.h include requiredJaap Keuter1-1/+0
Stop including glib.h in dissectors, this will come in implicitly with packet.h including proto.h, an essential include file for dissectors. While at it, config.h is no longer conditional and stdio.h is usually not needed either. Some other cleanups too. Change-Id: I60c12f16d7ef1e6398509293031ffed7460d2c61 Reviewed-on: https://code.wireshark.org/review/36969 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-04-27Add string encoding values for various BCD encodings, and use them.Guy Harris1-9/+2
Add some ENC_ values for various flavors of packed BCD, and use that instead of explicitly calling tvb_bcd_dig_to_wmem_packet_str() and adding the result. Change-Id: I07511d9d09c9231b610c121cd6ffb3b16fb017a9 Reviewed-on: https://code.wireshark.org/review/36952 Reviewed-by: Guy Harris <gharris@sonic.net>
2018-11-19lnpdqp: Get rid of warnings.Anders Broman1-0/+3
Change-Id: Ib38960def1bdefde64b82ba0848c5e13a51189c7 Reviewed-on: https://code.wireshark.org/review/30712 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-11-06Add dissector for ANSI Local Number Portability Database Query Protocol.Anders Broman1-0/+364
Bug: 15236 Change-Id: I3a04394bf9069f63b90f7a3d60e801a846840839 Reviewed-on: https://code.wireshark.org/review/30515 Reviewed-by: Anders Broman <a.broman58@gmail.com>