Wireshark
4.3.0
The Wireshark network protocol analyzer
epan
dissectors
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
_address
Definition:
address.h:55
_eth_hdr
Definition:
packet-eth.h:13
_packet_info
Definition:
packet_info.h:44
_proto_node
Definition:
proto.h:897
tvbuff
Definition:
tvbuff-int.h:35
Generated by
1.9.1