Changeset 114b8d6 for lib/libtrace.h


Ignore:
Timestamp:
04/22/06 00:43:32 (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:
2d96bf2
Parents:
a4bfbf0
Message:

Remove reliance on pcap.h for DLT_'s (and while we're here, make them a pretty
enum, so we get warnings if we forget one somewhere)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r088533a r114b8d6  
    180180        TRACE_ERR_RECV_FAILED   = -11
    181181};
     182
     183typedef enum {
     184        TRACE_DLT_NULL = 0,
     185        TRACE_DLT_EN10MB = 1,
     186        TRACE_DLT_ATM_RFC1483 = 11,
     187        TRACE_DLT_IEEE802_11 = 105,
     188        TRACE_DLT_LINUX_SLL = 113,
     189        TRACE_DLT_PFLOG = 117
     190} libtrace_dlt_t ;
     191
    182192
    183193/** @name Protocol structures
Note: See TracChangeset for help on using the changeset viewer.