summaryrefslogtreecommitdiff
path: root/pcap-common.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-09-10 22:44:34 -0700
committerGuy Harris <gharris@sonic.net>2022-09-10 22:44:34 -0700
commit1c480dded241f4302fd29acdfed84a23d9b8c74a (patch)
treef3722aa97194bb24fa94e0ef1724525dd87eeaf3 /pcap-common.c
parent08087eecaf1e05cf9fdee6c442b365636bba615a (diff)
downloadlibpcap-1c480dded241f4302fd29acdfed84a23d9b8c74a.tar.gz
Update some comments to reflect a Wireshark change.
1) EXP_PDU_TAG_LINKTYPE isn't used any more. 2) EXP_PDU_TAG_HEUR_DISSECTOR_NAME is used. 3) EXP_PDU_TAG_PROTO_NAME was renamed to EXP_PDU_TAG_DISSECTOR_NAME to reflect that it is (and always has been) a Wireshark internal dissector name, not the name of a protocol.
Diffstat (limited to 'pcap-common.c')
-rw-r--r--pcap-common.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/pcap-common.c b/pcap-common.c
index 0af34da7..0c246ab5 100644
--- a/pcap-common.c
+++ b/pcap-common.c
@@ -960,13 +960,15 @@
/*
* Link-layer header type for upper-protocol layer PDU saves from wireshark.
*
- * the actual contents are determined by two TAGs stored with each
- * packet:
- * EXP_PDU_TAG_LINKTYPE the link type (LINKTYPE_ value) of the
- * original packet.
+ * the actual contents are determined by two TAGs, one or more of
+ * which is stored with each packet:
*
- * EXP_PDU_TAG_PROTO_NAME the name of the wireshark dissector
- * that can make sense of the data stored.
+ * EXP_PDU_TAG_DISSECTOR_NAME the name of the Wireshark dissector
+ * that can make sense of the data stored.
+ *
+ * EXP_PDU_TAG_HEUR_DISSECTOR_NAME the name of the Wireshark heuristic
+ * dissector that can make sense of the
+ * data stored.
*/
#define LINKTYPE_WIRESHARK_UPPER_PDU 252