Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-sv-template.h
1 /* packet-sv.h
2  * Routines for IEC 61850 Sampled Vales packet dissection
3  * Michael Bernhard 2008
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef __PACKET_SV_H__
13 #define __PACKET_SV_H__
14 
15 #define IEC61850_SV_MAX_PHSMEAS_ENTRIES 20
16 
17 typedef struct _sv_phs_meas {
18  gint32 value;
19  guint32 qual;
20 } sv_phs_meas;
21 
22 typedef struct _sv_frame_data {
23  guint16 smpCnt;
24  guint8 smpSynch;
25  guint8 num_phsMeas;
26  sv_phs_meas phsMeas[IEC61850_SV_MAX_PHSMEAS_ENTRIES];
27  guint16 smpMod;
29 
30 #endif /*__PACKET_SV_H__*/
Definition: packet-sv-template.h:22
Definition: packet-sv-template.h:17