3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __PACKET_ETH_H__
11 #define __PACKET_ETH_H__
13 #include <epan/conversation.h>
15 typedef struct _eth_hdr
{
19 uint32_t stream
; /* track conversations */
22 /* conversations related struct */
25 /* Initial frame starting this conversation
27 uint32_t initial_frame
;
33 void add_ethernet_trailer(packet_info
*pinfo
, proto_tree
*tree
, proto_tree
*fh_tree
,
34 int trailer_id
, tvbuff_t
*tvb
, tvbuff_t
*trailer_tvb
,
35 int fcs_len
, int payload_offset
);
37 WS_DLL_PUBLIC
struct eth_analysis
*get_eth_conversation_data(conversation_t
*conv
,