Changeset d500159 for lib/libtrace.h.in


Ignore:
Timestamp:
11/28/12 09:13:11 (9 years ago)
Author:
Richard Sanger <rjs51@…>
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:
17dc71c
Parents:
0a8eb88
Message:

Added new format type ring:. Works just like the old int:. In fact much of the int: code is reused. However ring: uses PACKET_MMAP ring buffers to improve performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r64d4398 rd500159  
    302302        TRACE_FORMAT_TSH          =12,  /**< TSH trace format */
    303303        TRACE_FORMAT_ATMHDR       =13,  /**< Legacy ATM header capture */
    304         TRACE_FORMAT_LEGACY_NZIX  =14   /**< Legacy format used for NZIX traces */
     304        TRACE_FORMAT_LEGACY_NZIX  =14,  /**< Legacy format used for NZIX traces */
     305        TRACE_FORMAT_LINUX_RING   =15   /**< Linux native interface capture PACKET_MMAP */
    305306};
    306307
     
    351352        /** RT is encapsulating a Legacy NZIX capture record */
    352353        TRACE_RT_DATA_LEGACY_NZIX=TRACE_RT_DATA_SIMPLE + TRACE_FORMAT_LEGACY_NZIX,
     354        /** RT is encapsulating a Linux native PACKET_MMAP capture record */
     355        TRACE_RT_DATA_LINUX_RING=TRACE_RT_DATA_SIMPLE+TRACE_FORMAT_LINUX_RING,
    353356
    354357        /** As PCAP does not store the linktype with the packet, we need to
Note: See TracChangeset for help on using the changeset viewer.