summaryrefslogtreecommitdiff
path: root/epan/exported_pdu.h
AgeCommit message (Collapse)AuthorFilesLines
2017-01-17exported_pdu: add cleanup function.Dario Lombardo1-0/+2
Change-Id: Iafc9f1c4b2a0210d8098b37eefc095e740182258 Reviewed-on: https://code.wireshark.org/review/19648 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-08-01Add OSI Layer 4 to exported PDU to handle TCP and UDP payloads.Michael Mann1-1/+18
This allows for much easier anonymized captures for protocols running atop TCP/UDP. Added support for "TCP dissector data" tag within export PDU (34) so that the tcpinfo struct that TCP dissector normally passes to its subdissectors can be saved. Change-Id: Icd63c049162332e5bcb2720159e5cf8aac893788 Reviewed-on: https://code.wireshark.org/review/16285 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-07-01exported_pdu(.h): Fix warning: parameter 'tag_type.' not found in the ↵Alexis La Goutte1-2/+2
function declaration [-Wdocumentation] Change-Id: Ic93914a7f526b645bc21a5c9c5f2fa0bf988c27e Reviewed-on: https://code.wireshark.org/review/16230 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-06-29Provide new interface for Export PDU.Michael Mann1-28/+63
Rather than have a bitmask for each desired field, have a dissector provide a list of structures that represent data that goes into the PDU. Change-Id: I125190cbaee489ebffb7d9f5d8bc6f3be2d06353 Reviewed-on: https://code.wireshark.org/review/16122 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-06-13Convert AT_SS7PC to a "dissector address type"Michael Mann1-0/+2
The formatting of the address type is determined by a preference in packet-mtp3.c, so just make MTP3 register the address type. Use address_type_get_by_name in other dissectors (and export_pdu) to use the address type. Change-Id: Ifb32d7de27aeaa23cee8e803e25ffb3c905547b5 Reviewed-on: https://code.wireshark.org/review/15856 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-31[Nettrace] Add parsing of some HSS records.AndersBroman1-0/+1
Change-Id: I7c2f6ebdb20f90533ee008e1b4557ef27d4672dc Reviewed-on: https://code.wireshark.org/review/14708 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-03-30Fix a typoPascal Quantin1-1/+1
Change-Id: I206c3f8ec860e92dce3f43b05f6695347d15398a Reviewed-on: https://code.wireshark.org/review/14706 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-03-29[Exported PDU] Add the abillity to use dissector tables from the file.AndersBroman1-0/+13
Change-Id: I51ac8ce56641cf6eeda18c2a3f6d6952d3126415 Reviewed-on: https://code.wireshark.org/review/14693 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-10-23[Nettrace] Add parsing of IP addresses and ports.AndersBroman1-1/+1
Change-Id: I4e2988edd9b5f75f7b104c8daddd1510bf1fc722 Reviewed-on: https://code.wireshark.org/review/11209 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-07-15Simply code for export of PDUs coming from heuristic dissectorsPascal Quantin1-2/+2
Let's use the newly introduced find_heur_dissector_by_unique_short_name() function Change-Id: I5781b9b2f1ab679da07e97755b71840b4b3a9361 Reviewed-on: https://code.wireshark.org/review/9645 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-06-25Add ability to export PDUs for heuristic dissectors alsoPascal Quantin1-7/+11
Change-Id: I1bf1aa9794f9b4f106edffd4986fc0b1014522fa Reviewed-on: https://code.wireshark.org/review/9099 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-05-25Fix out of tree buildsGraham Bloice1-1/+1
Stop out of tree builds picking up the in-tree version and config.h Change-Id: Icadc46cab66db72af2d475eac31b28d0ca10df90 Reviewed-on: https://code.wireshark.org/review/8204 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-19Add the ability to dynamically add a new protocol to export PDU dialog boxPascal Quantin1-6/+15
Change-Id: I83012cc963d514982e40010e837e11a6fcf1bc3e Reviewed-on: https://code.wireshark.org/review/2423 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-18Exported PDU: add support for more than 32 tagsPascal Quantin1-15/+15
Change-Id: Idc9f105164919827a8a81c88b5a56de4fa25df0b Reviewed-on: https://code.wireshark.org/review/1197 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-18Mark the exported_pdu tags as stable (before the next release).Jeff Morriss1-9/+18
These tag values have been pretty stable for a while now; mark them as stable and insert a warning (copied directly from tcpdump.org) to ensure that people don't start using tags without registering them. Change-Id: I9d7b9cd0daaff7eded606506d540c2555d78c417 Reviewed-on: https://code.wireshark.org/review/1193 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-19Exported PDU: add support for data length on the wirePascal Quantin1-2/+3
Change-Id: Iff14ec4d0297ec85f3597b33871fb0ab5256a597 Reviewed-on: https://code.wireshark.org/review/728 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-25Remove trailing whitespaceBill Meier1-5/+5
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0 Reviewed-on: https://code.wireshark.org/review/385 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-18Add Logcat to Exported PDUMichal Labedzki1-0/+1
Logcat can be exported from ADB over USB or ADB over TCP where can occur multiple Logcat PDUs in one frame. Change-Id: I290fa131e5600c62357e5be4e76096ea5c35364b Reviewed-on: https://code.wireshark.org/review/234 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2013-11-21Remove ethertype, mpls_label and ppids from packet_info structure.Michael Mann1-6/+0
The information was converted to "proto" data within their respective dissectors strictly for use in "Decode As". svn path=/trunk/; revision=53489
2013-10-15Fix ABI check error for libwiresharkBalint Reczey1-0/+6
svn path=/trunk/; revision=52630
2013-07-29support exporting decrypted DVB-CI/CI+ SAC messagesMartin Kaiser1-0/+7
using the new export PDU mechanism svn path=/trunk/; revision=51019
2013-06-19Add export of SS7 OPC/DPCPascal Quantin1-2/+2
svn path=/trunk/; revision=50060
2013-06-18Add ability to export decrypted IPsec PDUsPascal Quantin1-1/+3
svn path=/trunk/; revision=50022
2013-06-17More PDU export work:Pascal Quantin1-11/+13
- add automatic export of port type when exporting a source / destination port - add export of SCTP PPID (usefulness to be checked) - fix some field size svn path=/trunk/; revision=49989
2013-05-24Edit commentsAnders Broman1-2/+2
svn path=/trunk/; revision=49569
2013-05-20Make preparation to select which level tap is to be used.Anders Broman1-0/+7
svn path=/trunk/; revision=49446
2013-05-14Add a tag for original frame number.Anders Broman1-0/+6
svn path=/trunk/; revision=49298
2013-05-14Add comments on the experimental state of this feature.Anders Broman1-0/+6
svn path=/trunk/; revision=49285
2013-05-10Fix a few bugs related to PDU export feature:Pascal Quantin1-12/+12
- tag length is wrong if proto name was a multiple of 4 bytes - tag length is wrong in case no IP address is available in packet_info structwhile tag is requested - endianness issue when dumping the port number - overlapping tag IPv4 Dst address and IPv6 Src address - do not call dissector when it is not found - typo errors Enhancements: - add a subtree for tag content - display IPv6 Src/Dst address svn path=/trunk/; revision=49232
2013-05-06Add missing files.Anders Broman1-0/+31
svn path=/trunk/; revision=49185
2013-05-0555:1: error: "/*" within commentAnders Broman1-1/+1
svn path=/trunk/; revision=49178
2013-05-05Add the abillity to export PDU:s to file using a USER_DLT adding meta data ↵Anders Broman1-0/+85
before the actual protocol PDU. Some meta tags makes it possible for the dissector of the user DLT to call the correct PDU dissector. This is prof-of-concept needs a bit of cleanup. svn path=/trunk/; revision=49176