Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-sflow.h
1 /* packet-sflow.h
2 * sFlow v5 dissection implemented according to the specifications
3 * at http://www.sflow.org/sflow_version_5.txt
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_SFLOW_H__
13 #define __PACKET_SFLOW_H__
14
15 #define SFLOW_245_HEADER_ETHERNET 1
16 #define SFLOW_245_HEADER_TOKENBUS 2
17 #define SFLOW_245_HEADER_TOKENRING 3
18 #define SFLOW_245_HEADER_FDDI 4
19 #define SFLOW_245_HEADER_FRAME_RELAY 5
20 #define SFLOW_245_HEADER_X25 6
21 #define SFLOW_245_HEADER_PPP 7
22
23 /* We don't have an SMDS dissector yet
24 *
25 * Switched multimegabit data service (SMDS) was a connectionless service
26 * used to connect LANs, MANs and WANs to exchange data. SMDS was based on
27 * the IEEE 802.6 DQDB standard. SMDS fragmented its datagrams into smaller
28 * "cells" for transport, and can be viewed as a technological precursor of ATM.
29 */
30 #define SFLOW_245_HEADER_SMDS 8
31
32 /*
33 * No AAL5 (ATM Adaptation Layer 5) dissector available.
34 * What does the packet look like? An AAL5 PDU? Where
35 * do the VPI/VCI pair appear, if anywhere?
36 */
37 #define SFLOW_245_HEADER_AAL5 9
38 #define SFLOW_245_HEADER_AAL5_IP 10
39
40 #define SFLOW_245_HEADER_IPv4 11
41 #define SFLOW_245_HEADER_IPv6 12
42 #define SFLOW_245_HEADER_MPLS 13
43
44 /* wireshark does not have POS dissector yet */
45 #define SFLOW_5_HEADER_POS 14
46
47 #define SFLOW_5_HEADER_80211_MAC 15
48
49 /* XXX - No handles for these, need to be converted into "dissectors" */
50 #define SFLOW_5_HEADER_80211_AMPDU 16 /* "wlan_aggregate" */
51 #define SFLOW_5_HEADER_80211_AMSDU_SUBFRAME 17
52
53 #endif