nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* packet-nv.h
2 *
3 * Copyright (c) 2007 by Beckhoff Automation GmbH
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
23  
24 #ifndef _PACKET_NV_H_
25 #define _PACKET_NV_H_
26  
27 /* Ensure the same data layout for all platforms*/
28 typedef struct _ETYPE_88A4_NV_DATA_HEADER
29 {
30 guint16 Id;
31 guint16 Hash;
32 guint16 Length;
33 guint16 Quality;
34 } ETYPE_88A4_NV_DATA_HEADER;
35 #define ETYPE_88A4_NV_DATA_HEADER_Len (int)sizeof(ETYPE_88A4_NV_DATA_HEADER)
36  
37 typedef struct _NvParserHDR
38 {
39 guint8 Publisher[6];
40 guint16 CountNV;
41 guint16 CycleIndex;
42 guint16 Reserved;
43 } NvParserHDR;
44 #define NvParserHDR_Len (int)sizeof(NvParserHDR)
45  
46 #endif /* _PACKET_NV_H_*/