diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-05-20 17:48:09 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-05-20 17:48:09 +0000 |
commit | 6a3a3c228c3de3dc6227d4fb098875181894c13c (patch) | |
tree | df939d7dfe73c3cd1efd2b4d8586dab7d5e501f4 /epan/exported_pdu.h | |
parent | 771675cfa56edc0cc36a3bda4188c3df80bfb5b2 (diff) | |
download | wireshark-6a3a3c228c3de3dc6227d4fb098875181894c13c.tar.gz |
Make preparation to select which level tap is to be used.
svn path=/trunk/; revision=49446
Diffstat (limited to 'epan/exported_pdu.h')
-rw-r--r-- | epan/exported_pdu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/exported_pdu.h b/epan/exported_pdu.h index 3747cc029e..a5bf05a99b 100644 --- a/epan/exported_pdu.h +++ b/epan/exported_pdu.h @@ -29,6 +29,13 @@ #include <glib.h> /** + * Define different common tap names to extract PDU:s at different layers, otherwise one packet may + * be exported several times at diferent layers if all taps are run. + * NOTE if a new tap is added here it needs to be added to export_pdu_dlg.c and packet-exported_pdu.c + * TODO: Use an enum_val_t instead? + */ +#define EXPORT_PDU_TAP_NAME_LAYER_7 "export_pdu_layer_7_tap" +/** * This struct is used as the data part of tap_queue_packet() and contains a * buffer with metadata of the protocol PDU included in the tvb in the struct. * the meta data is in TLV form, at least one tag MUST indicate what protocol is |