2 * sFlow v5 dissection implemented according to the specifications
3 * at http://www.sflow.org/sflow_version_5.txt
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_SFLOW_H__
13 #define __PACKET_SFLOW_H__
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
23 /* We don't have an SMDS dissector yet
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.
30 #define SFLOW_245_HEADER_SMDS 8
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?
37 #define SFLOW_245_HEADER_AAL5 9
38 #define SFLOW_245_HEADER_AAL5_IP 10
40 #define SFLOW_245_HEADER_IPv4 11
41 #define SFLOW_245_HEADER_IPv6 12
42 #define SFLOW_245_HEADER_MPLS 13
44 /* wireshark does not have POS dissector yet */
45 #define SFLOW_5_HEADER_POS 14
47 #define SFLOW_5_HEADER_80211_MAC 15
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