aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ain.c
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08Convert asn2ws to generate C99 typesAnders Broman1-466/+466
2022-11-30asn2wrs: disable template line directive by defaultJoakim Karlsson1-51/+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-25/+1
To debug with line directive build with -DENABLE_DEBUG_A2W=ON flag
2020-12-15asn2wrs: Rename duplicated filter namesAnders Broman1-58/+57
2020-06-19Fix the type of arrays of pointers to hf_ values for bitfield routines.Guy Harris1-11/+11
The static arrays are supposed to be arrays of const pointers to int, not arrays of non-const pointers to const int. Fixing that means some bugs (scribbling on what's *supposed* to be a const array) will be caught (see packet-ieee80211-radiotap.c for examples, the first of which inspired this change and the second of which was discovered while testing compiles with this change), and removes the need for some annoying casts. Also make some of those arrays static while we're at it. Update documentation and dissector-generator tools. Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc Reviewed-on: https://code.wireshark.org/review/37517 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-04-27Add string encoding values for various BCD encodings, and use them.Guy Harris1-11/+5
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>
2019-04-04asn2wrs: Improve filtername of named bits.Anders Broman1-63/+63
Change-Id: Ie22137e95c8752a0783e3e9ff99b45c0b79b0d4a Reviewed-on: https://code.wireshark.org/review/32714 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-03ASN.1: Use proto_tree_add_bitmask... () for named bits.Anders Broman1-96/+96
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>
2018-11-19ain:Prettify Carrier and AMAslpID parameters.Anders Broman1-27/+125
Bug: 15285 Change-Id: I34fc67e2faa4c4e53834b257796b3f256239f27a Reviewed-on: https://code.wireshark.org/review/30711 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-09-11Go back to using a #pragma directly.Guy Harris1-10/+17
See if *that* prevents us from failing with a warning; -Wno-error=unused-function doesn't seem to do the trick. Change-Id: If2dec4ca70451670d0181c6cd0c7bc714e856c95 Reviewed-on: https://code.wireshark.org/review/29613 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-09-11Use DIAG_OFF to suppress -Wunused-function.Guy Harris1-11/+9
Change-Id: I1846e4ef1be977553510ff1473d4c1a7e12cce18 Reviewed-on: https://code.wireshark.org/review/29594 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-09-09AIN: Add dissector for Advanced Inteligent Network protocol.Anders1-0/+11494
Bug:15108 Change-Id: I3b37209c6dcf1a7edc19d12e19d0ab4beaaba5b4 Reviewed-on: https://code.wireshark.org/review/29450 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>