HACK: 2nd try to match RowsetProperties
[wireshark-wip.git] / epan / dissectors / packet-tte.h
blob1ec1d798f215b07f43216906738f49bf313a2873
1 /* packet-tte.h
2 * Header for Time Triggered Ethernet dissection
4 * Author: Valentin Ecker
5 * Author: Benjamin Roch, benjamin.roch [AT] tttech.com
7 * TTTech Computertechnik AG, Austria.
8 * http://www.tttech.com/solutions/ttethernet/
11 * $Id$
13 * Wireshark - Network traffic analyzer
14 * By Gerald Combs <gerald@wireshark.org>
15 * Copyright 1998 Gerald Combs
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License
19 * as published by the Free Software Foundation; either version 2
20 * of the License, or (at your option) any later version.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
30 * USA.
33 #ifndef _PACKET_TTE_H_
34 #define _PACKET_TTE_H_
36 /* in bytes, at least MAC dest/source and EthernetType must be there
37 to look for TTE */
38 #define TTE_HEADER_LENGTH 14
40 #define TTE_MAC_LENGTH 6 /* in bytes */
41 #define TTE_MACDEST_CF_LENGTH 4 /* in bytes */
42 #define TTE_MACDEST_CTID_LENGTH 2 /* in bytes */
44 #define TTE_ETHERTYPE_LENGTH 2 /* in bytes */
46 #define TTE_PCF_LENGTH 28 /* in bytes */
47 #define TTE_PCF_IC_LENGTH 4 /* in bytes */
48 #define TTE_PCF_MN_LENGTH 4 /* in bytes */
49 #define TTE_PCF_RES0_LENGTH 4 /* in bytes */
50 #define TTE_PCF_SP_LENGTH 1 /* in bytes */
51 #define TTE_PCF_SD_LENGTH 1 /* in bytes */
52 #define TTE_PCF_TYPE_LENGTH 1 /* in bytes ( actually 4 bits ) */
53 #define TTE_PCF_RES1_LENGTH 5 /* in bytes ( actually 44 bits ) */
54 #define TTE_PCF_TC_LENGTH 8 /* in bytes */
57 #endif /* _PACKET_TTE_H_ */