forked from osmocom/wireshark
![Dario Lombardo](/assets/img/avatar_default.png)
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
24 lines
488 B
C
24 lines
488 B
C
/* packet-eth.h
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __PACKET_ETH_H__
|
|
#define __PACKET_ETH_H__
|
|
|
|
typedef struct _eth_hdr {
|
|
address dst;
|
|
address src;
|
|
guint16 type;
|
|
} eth_hdr;
|
|
|
|
void add_ethernet_trailer(packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
|
|
int trailer_id, tvbuff_t *tvb, tvbuff_t *trailer_tvb,
|
|
int fcs_len);
|
|
|
|
#endif
|