| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-tte.h
1/* packet-tte.h
2 * Header for Time Triggered Ethernet dissection
3 *
4 * Author: Valentin Ecker
5 * Author: Benjamin Roch, benjamin.roch [AT] tttech.com
6 *
7 * TTTech Computertechnik AG, Austria.
8 * http://www.tttech.com/solutions/ttethernet/
9 *
10 *
11 * Wireshark - Network traffic analyzer
12 * By Gerald Combs <gerald@wireshark.org>
13 * Copyright 1998 Gerald Combs
14 *
15 * SPDX-License-Identifier: GPL-2.0-or-later
16 */
17
18#ifndef _PACKET_TTE_H_
19#define _PACKET_TTE_H_
20
21/* in bytes, at least MAC dest/source and EthernetType must be there
22 to look for TTE */
23#define TTE_HEADER_LENGTH 14
24
25#define TTE_MAC_LENGTH 6 /* in bytes */
26#define TTE_MACDEST_CF_LENGTH 4 /* in bytes */
27#define TTE_MACDEST_CTID_LENGTH 2 /* in bytes */
28
29#define TTE_ETHERTYPE_LENGTH 2 /* in bytes */
30
31#define TTE_PCF_LENGTH 28 /* in bytes */
32#define TTE_PCF_IC_LENGTH 4 /* in bytes */
33#define TTE_PCF_MN_LENGTH 4 /* in bytes */
34#define TTE_PCF_RES0_LENGTH 4 /* in bytes */
35#define TTE_PCF_SP_LENGTH 1 /* in bytes */
36#define TTE_PCF_SD_LENGTH 1 /* in bytes */
37#define TTE_PCF_TYPE_LENGTH 1 /* in bytes ( actually 4 bits ) */
38#define TTE_PCF_RES1_LENGTH 5 /* in bytes ( actually 44 bits ) */
39#define TTE_PCF_TC_LENGTH 8 /* in bytes */
40
41
42#endif /* _PACKET_TTE_H_ */
43