Changeset 2f3a25e for lib/libtrace.h.in


Ignore:
Timestamp:
11/01/06 10:33:29 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
7ca2c7d
Parents:
19c6cbe
Message:

Use DLT_RAW instead of DLT_NULL when writing out raw IP.
Also don't strip the 4 byte FCS off non-ethernet traces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r10a46bd r2f3a25e  
    196196};
    197197
    198 /** Enumeration of DLT types supported by libtrace */
     198/** Enumeration of DLT types supported by libtrace
     199 * These aren't actually DLTs, but LINKTYPE_'s, so becareful when modifying
     200 * this.
     201 */
    199202typedef enum {
    200203        TRACE_DLT_NULL = 0,
    201204        TRACE_DLT_EN10MB = 1,
    202205        TRACE_DLT_ATM_RFC1483 = 11,
     206        TRACE_DLT_RAW = 101,
    203207        TRACE_DLT_IEEE802_11 = 105,
    204208        TRACE_DLT_LINUX_SLL = 113,
Note: See TracChangeset for help on using the changeset viewer.