Skip to content

Commit 1c480dd

Browse files
committed
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.
1 parent 08087ee commit 1c480dd

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

pcap-common.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -960,13 +960,15 @@
960960
/*
961961
* Link-layer header type for upper-protocol layer PDU saves from wireshark.
962962
*
963-
* the actual contents are determined by two TAGs stored with each
964-
* packet:
965-
* EXP_PDU_TAG_LINKTYPE the link type (LINKTYPE_ value) of the
966-
* original packet.
963+
* the actual contents are determined by two TAGs, one or more of
964+
* which is stored with each packet:
967965
*
968-
* EXP_PDU_TAG_PROTO_NAME the name of the wireshark dissector
969-
* that can make sense of the data stored.
966+
* EXP_PDU_TAG_DISSECTOR_NAME the name of the Wireshark dissector
967+
* that can make sense of the data stored.
968+
*
969+
* EXP_PDU_TAG_HEUR_DISSECTOR_NAME the name of the Wireshark heuristic
970+
* dissector that can make sense of the
971+
* data stored.
970972
*/
971973
#define LINKTYPE_WIRESHARK_UPPER_PDU 252
972974

pcap/dlt.h

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,15 +1286,17 @@
12861286
#define DLT_BLUETOOTH_LE_LL 251
12871287

12881288
/*
1289-
* DLT type for upper-protocol layer PDU saves from wireshark.
1289+
* DLT type for upper-protocol layer PDU saves from Wireshark.
12901290
*
1291-
* the actual contents are determined by two TAGs stored with each
1292-
* packet:
1293-
* EXP_PDU_TAG_LINKTYPE the link type (LINKTYPE_ value) of the
1294-
* original packet.
1291+
* the actual contents are determined by two TAGs, one or more of
1292+
* which is stored with each packet:
12951293
*
1296-
* EXP_PDU_TAG_PROTO_NAME the name of the wireshark dissector
1297-
* that can make sense of the data stored.
1294+
* EXP_PDU_TAG_DISSECTOR_NAME the name of the Wireshark dissector
1295+
* that can make sense of the data stored.
1296+
*
1297+
* EXP_PDU_TAG_HEUR_DISSECTOR_NAME the name of the Wireshark heuristic
1298+
* dissector that can make sense of the
1299+
* data stored.
12981300
*/
12991301
#define DLT_WIRESHARK_UPPER_PDU 252
13001302

0 commit comments

Comments
 (0)