Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-eth.h
blob8fe2d0c8c0a53cbd42b16271f68a62481005f4fd
1 /* packet-eth.h
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
8 */
10 #ifndef __PACKET_ETH_H__
11 #define __PACKET_ETH_H__
13 #include <epan/conversation.h>
15 typedef struct _eth_hdr {
16 address dst;
17 address src;
18 uint16_t type;
19 uint32_t stream; /* track conversations */
20 } eth_hdr;
22 /* conversations related struct */
23 struct eth_analysis {
25 /* Initial frame starting this conversation
27 uint32_t initial_frame;
29 uint32_t stream;
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,
38 packet_info *pinfo);
40 #endif