Changeset 121b7e2 for lib/dagformat.h


Ignore:
Timestamp:
03/11/08 16:19:32 (14 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
a9a91d1
Parents:
6033b99
Message:
  • Updated format_dag25 to support multiple streams - the new uri format for dag is "dag:/dev/dagX,<stream number>"
  • As each dag card can only be opened by a single process, thread-safety is now incorporated to allow separate threads to read from each dag stream
  • format_dag24 also supports the new uri format, although the stream number is ignored because old dags only have the one stream
  • Updated dagformat.h to include a whole bunch of new erf types
  • Added explicit support for the DSM Coloured Ethernet record type which will be required to deal with streamed packets
  • Fixed erf_get_padding() code that was comparing the return value of trace_get_link_type against an erf type rather than a libtrace link type
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/dagformat.h

    r4bd8a5b r121b7e2  
    55
    66/* GPP record type defines */
    7 #define TYPE_LEGACY       0
    8 #define TYPE_HDLC_POS     1
    9 #define TYPE_ETH          2
    10 #define TYPE_ATM          3
    11 #define TYPE_AAL5         4
     7#define TYPE_LEGACY             0
     8#define TYPE_HDLC_POS           1
     9#define TYPE_ETH                2
     10#define TYPE_ATM                3
     11#define TYPE_AAL5               4
     12#define TYPE_MC_HDLC            5
     13#define TYPE_MC_RAW             6
     14#define TYPE_MC_ATM             7
     15#define TYPE_MC_RAW_CHANNEL     8
     16#define TYPE_MC_AAL5            9
     17#define TYPE_COLOR_HDLC_POS     10
     18#define TYPE_COLOR_ETH          11
     19#define TYPE_MC_AAL2            12
     20#define TYPE_IP_COUNTER         13
     21#define TYPE_TCP_FLOW_COUNTER   14
     22#define TYPE_DSM_COLOR_HDLC_POS 15
     23#define TYPE_DSM_COLOR_ETH      16
     24#define TYPE_COLOR_MC_HDLC_POS  17
     25#define TYPE_AAL2               18
     26
     27
    1228
    1329#ifdef WIN32
Note: See TracChangeset for help on using the changeset viewer.