diff options
author | sake <sake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-12-16 00:35:34 +0000 |
---|---|---|
committer | sake <sake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-12-16 00:35:34 +0000 |
commit | 75288b3b78fc89a0c24bc3f337a3534539a18961 (patch) | |
tree | d8fefa1faa3421049a7179dac2ce36f13e8644ae /epan/dissectors/packet-eth.h | |
parent | 746658e3964c58bcc1242db715677a78e55cd96d (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23880 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-eth.h')
-rw-r--r-- | epan/dissectors/packet-eth.h | 5 |
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 |