aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-link16.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-20Remove init of proto variablesStig Bjørlykke1-7/+7
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-01-31More fussing with items and calls.Martin Mathieson1-3/+3
2020-06-19Fix the type of arrays of pointers to hf_ values for bitfield routines.Guy Harris1-4/+4
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-03-11Link 16: Add a link to DSTO-TN-1257.Gerald Combs1-0/+2
Add a link to DSTO-TN-1257, which was referenced in the original commit message. Change-Id: Id554f59a7fe2b4575c9153ddc1000b1fcaac1228 Reviewed-on: https://code.wireshark.org/review/36361 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-03-07dissectors: more SPDX license convertions.Dario Lombardo1-13/+1
Change-Id: I96e1f1cdbaaf49d65705ecacc903f73cf0e47d7c Reviewed-on: https://code.wireshark.org/review/26334 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-1/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-16LINK16: Add modelines infoAlexis La Goutte1-0/+13
Change-Id: I4267de691f9b7064b6110eba1c85ddb6b755d3f5 Reviewed-on: https://code.wireshark.org/review/3648 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-08-16Fix comma at end of enumerator list [-Wpedantic]Alexis La Goutte1-1/+1
Change-Id: Ib50ddb969471c03cf0ce2f240c3586fe2274965a Reviewed-on: https://code.wireshark.org/review/3642 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-16Fix warning: no previous prototype for ... [-Wmissing-prototypes]Alexis La Goutte1-0/+2
Change-Id: I7e935114417712d1101ea2d6f4b236fac44698d0 Reviewed-on: https://code.wireshark.org/review/3637 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-07-25Empty proto_reg_handoff_* are not needed, remove some.Jakub Zawadzki1-4/+0
Change-Id: I957b01aa00bbff3c48192388c7ad9e601d79c778 Reviewed-on: https://code.wireshark.org/review/3196 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-05-11packet-link16: fix typosPeter Ross1-3/+3
Change-Id: I57d1a2dc1f3a078eb18c5799ca3bc0277eb1b2f9 Reviewed-on: https://code.wireshark.org/review/1584 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-05-10packet-link16: Link 16 message dissector (MIL-STD-6016)Peter Ross1-0/+291
Described in: Robertson, W., and Ross, P., Extending the Wireshark Network Protocol Analyser to Decode Link 16 Tactical Data Link Messages, Defence Science and Technology Organisation, January 2014. DSTO-TN-1257. Change-Id: Ie4b1228ef112e56b3ab975d0c9254fa468b90cc2 Reviewed-on: https://code.wireshark.org/review/1551 Reviewed-by: Michael Mann <mmann78@netscape.net>