aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.h
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2007-12-16 00:35:34 +0000
committerSake Blok <sake@euronet.nl>2007-12-16 00:35:34 +0000
commit4f05930abe42f432c467c6c9162bc6f57ebf0960 (patch)
treed8fefa1faa3421049a7179dac2ce36f13e8644ae /epan/dissectors/packet-eth.h
parent9a2d18d3869d494dfb4e2438aafa9bf502b459cb (diff)
Big 2104 - From Benn Bollay:
This patch adds a heuristic dissector to the ethernet trailer under the keystring "eth.trailer". This allows for other protocol plugins which coopt the ethernet trailer for their own devices to register for trailer traffic without requiring any further changes to the executable. svn path=/trunk/; revision=23880
Diffstat (limited to 'epan/dissectors/packet-eth.h')
-rw-r--r--epan/dissectors/packet-eth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.h b/epan/dissectors/packet-eth.h
index 35b9c252f0..58471d6592 100644
--- a/epan/dissectors/packet-eth.h
+++ b/epan/dissectors/packet-eth.h
@@ -32,7 +32,8 @@ typedef struct _eth_hdr {
void capture_eth(const guchar *, int, int, packet_counts *);
-void add_ethernet_trailer(proto_tree *fh_tree, int trailer_id, tvbuff_t *tvb,
- tvbuff_t *trailer_tvb, int fcs_len);
+void add_ethernet_trailer(packet_info *pinfo, proto_tree *fh_tree,
+ int trailer_id, tvbuff_t *tvb, tvbuff_t *trailer_tvb,
+ int fcs_len);
#endif