Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / plugins / epan / ethercat / packet-ethercat-frame.h
blobd47587e45b39669968a4bba1b8dd1e8870ccbce3
1 /* paket-ethercat-frame.h
3 * Copyright (c) 2007 by Beckhoff Automation GmbH
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef _PACKET_ETHERCAT_FRAME_H
12 #define _PACKET_ETHERCAT_FRAME_H
14 #include <ws_diag_control.h>
16 /* structure for decoding the header -----------------------------------------*/
17 DIAG_OFF_PEDANTIC
18 typedef union _EtherCATFrameParser
20 struct
22 uint16_t length : 11;
23 uint16_t reserved : 1;
24 uint16_t protocol : 4;
25 } v;
26 uint16_t hdr;
27 } EtherCATFrameParserHDR;
28 DIAG_ON_PEDANTIC
29 typedef EtherCATFrameParserHDR *PEtherCATFrameParserHDR;
31 #define EtherCATFrameParserHDR_Len (int)sizeof(EtherCATFrameParserHDR)
33 #endif /* _PACKET_ETHERCAT_FRAME_H */