Defines

erftypes.h File Reference

Header file containing all the possible GPP record types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TYPE_LEGACY   0
 Legacy.
#define TYPE_HDLC_POS   1
 PoS with HDLC framing.
#define TYPE_ETH   2
 Ethernet.
#define TYPE_ATM   3
 ATM Cell.
#define TYPE_AAL5   4
 AAL5 Frame.
#define TYPE_MC_HDLC   5
 Multi-channel HDLC.
#define TYPE_MC_RAW   6
 Multi-channel Raw link record.
#define TYPE_MC_ATM   7
 Multi-channel ATM Cell.
#define TYPE_MC_RAW_CHANNEL   8
 Multi-channel Raw link data.
#define TYPE_MC_AAL5   9
 Multi-channel AAL5.
#define TYPE_COLOR_HDLC_POS   10
 PoS with HDLC framing and classification information in the loss counter field.
#define TYPE_COLOR_ETH   11
 Ethernet with classification information in the loss counter field.
#define TYPE_MC_AAL2   12
 Multi-channel AAL2.
#define TYPE_IP_COUNTER   13
 IP counter ERF record.
#define TYPE_TCP_FLOW_COUNTER   14
 TCP flow counter ERF record.
#define TYPE_DSM_COLOR_HDLC_POS   15
 PoS with HDLC framing with DSM color information in the loss counter field.
#define TYPE_DSM_COLOR_ETH   16
 Ethernet with DSM color information in the loss counter field.
#define TYPE_COLOR_MC_HDLC_POS   17
 Multi-channel HDLC with classification information in the loss counter field.
#define TYPE_AAL2   18
 AAL2 Frame.
#define TYPE_COLOR_HASH_POS   19
 Colored PoS HDLC record with Hash load balancing.
#define TYPE_COLOR_HASH_ETH   20
 Colored Ethernet with Hash load balancing.
#define TYPE_INFINIBAND   21
 Infiniband.
#define TYPE_IPV4   22
 IPv4.
#define TYPE_IPV6   23
 IPv6.
#define TYPE_RAW_LINK   24
 Raw link data, usually SONET or SDH.
#define TYPE_PAD   48
 Padding record.

Detailed Description

Header file containing all the possible GPP record types.

Author:
Daniel Lawson
Perry Lorier
Shane Alcock
Version:
Id:
erftypes.h 1725 2011-09-14 23:58:07Z salcock

Define Documentation

#define TYPE_AAL2   18

AAL2 Frame.

#define TYPE_AAL5   4

AAL5 Frame.

Referenced by erf_type_to_libtrace().

#define TYPE_ATM   3

ATM Cell.

Referenced by erf_type_to_libtrace().

#define TYPE_COLOR_ETH   11

Ethernet with classification information in the loss counter field.

#define TYPE_COLOR_HASH_ETH   20

Colored Ethernet with Hash load balancing.

#define TYPE_COLOR_HASH_POS   19

Colored PoS HDLC record with Hash load balancing.

#define TYPE_COLOR_HDLC_POS   10

PoS with HDLC framing and classification information in the loss counter field.

#define TYPE_COLOR_MC_HDLC_POS   17

Multi-channel HDLC with classification information in the loss counter field.

#define TYPE_DSM_COLOR_ETH   16

Ethernet with DSM color information in the loss counter field.

Referenced by erf_type_to_libtrace().

#define TYPE_DSM_COLOR_HDLC_POS   15

PoS with HDLC framing with DSM color information in the loss counter field.

#define TYPE_ETH   2

Ethernet.

Referenced by erf_type_to_libtrace().

#define TYPE_HDLC_POS   1

PoS with HDLC framing.

Referenced by erf_type_to_libtrace().

#define TYPE_INFINIBAND   21

Infiniband.

#define TYPE_IP_COUNTER   13

IP counter ERF record.

#define TYPE_IPV4   22

IPv4.

#define TYPE_IPV6   23

IPv6.

#define TYPE_LEGACY   0

Legacy.

#define TYPE_MC_AAL2   12

Multi-channel AAL2.

#define TYPE_MC_AAL5   9

Multi-channel AAL5.

#define TYPE_MC_ATM   7

Multi-channel ATM Cell.

#define TYPE_MC_HDLC   5

Multi-channel HDLC.

#define TYPE_MC_RAW   6

Multi-channel Raw link record.

#define TYPE_MC_RAW_CHANNEL   8

Multi-channel Raw link data.

#define TYPE_PAD   48

Padding record.

#define TYPE_RAW_LINK   24

Raw link data, usually SONET or SDH.

#define TYPE_TCP_FLOW_COUNTER   14

TCP flow counter ERF record.