forked from osmocom/wireshark
d1ccc338d6
Change-Id: I189a5b2d5f769395fa5e387f8be49b81903fb252 Reviewed-on: https://code.wireshark.org/review/5262 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
66 lines
2.4 KiB
C
66 lines
2.4 KiB
C
/* packet-sflow.h
|
|
* sFlow v5 dissection implemented according to the specifications
|
|
* at http://www.sflow.org/sflow_version_5.txt
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef __PACKET_SFLOW_H__
|
|
#define __PACKET_SFLOW_H__
|
|
|
|
#define SFLOW_245_HEADER_ETHERNET 1
|
|
#define SFLOW_245_HEADER_TOKENBUS 2
|
|
#define SFLOW_245_HEADER_TOKENRING 3
|
|
#define SFLOW_245_HEADER_FDDI 4
|
|
#define SFLOW_245_HEADER_FRAME_RELAY 5
|
|
#define SFLOW_245_HEADER_X25 6
|
|
#define SFLOW_245_HEADER_PPP 7
|
|
|
|
/* We don't have an SMDS dissector yet
|
|
*
|
|
* Switched multimegabit data service (SMDS) was a connectionless service
|
|
* used to connect LANs, MANs and WANs to exchange data. SMDS was based on
|
|
* the IEEE 802.6 DQDB standard. SMDS fragmented its datagrams into smaller
|
|
* "cells" for transport, and can be viewed as a technological precursor of ATM.
|
|
*/
|
|
#define SFLOW_245_HEADER_SMDS 8
|
|
|
|
/*
|
|
* No AAL5 (ATM Adaptation Layer 5) dissector available.
|
|
* What does the packet look like? An AAL5 PDU? Where
|
|
* do the VPI/VCI pair appear, if anywhere?
|
|
*/
|
|
#define SFLOW_245_HEADER_AAL5 9
|
|
#define SFLOW_245_HEADER_AAL5_IP 10
|
|
|
|
#define SFLOW_245_HEADER_IPv4 11
|
|
#define SFLOW_245_HEADER_IPv6 12
|
|
#define SFLOW_245_HEADER_MPLS 13
|
|
|
|
/* wireshark does not have POS dissector yet */
|
|
#define SFLOW_5_HEADER_POS 14
|
|
|
|
#define SFLOW_5_HEADER_80211_MAC 15
|
|
|
|
/* XXX - No handles for these, need to be converted into "dissectors" */
|
|
#define SFLOW_5_HEADER_80211_AMPDU 16 /* "wlan_aggregate" */
|
|
#define SFLOW_5_HEADER_80211_AMSDU_SUBFRAME 17
|
|
|
|
#endif
|