Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-eth.h
1 /* packet-eth.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef __PACKET_ETH_H__
11 #define __PACKET_ETH_H__
12 
13 typedef struct _eth_hdr {
14  address dst;
15  address src;
16  guint16 type;
17 } eth_hdr;
18 
19 void add_ethernet_trailer(packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
20  int trailer_id, tvbuff_t *tvb, tvbuff_t *trailer_tvb,
21  int fcs_len);
22 
23 #endif
Definition: address.h:55
Definition: packet-eth.h:13
Definition: packet_info.h:44
Definition: proto.h:897
Definition: tvbuff-int.h:35