Changeset e01a738


Ignore:
Timestamp:
03/27/07 00:11:56 (14 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:
9332105
Parents:
ebfdc46
Message:

Add support for tsh: trace formats (as braindead as they are)

Location:
lib
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    rb778083 re01a738  
    3535                format_erf.c format_pcap.c format_wag.c format_legacy.c \
    3636                format_rt.c format_helper.c format_helper.h format_pcapfile.c \
    37                 format_duck.c $(NATIVEFORMATS) $(BPFFORMATS) \
     37                format_duck.c format_tsh.c $(NATIVEFORMATS) $(BPFFORMATS) \
    3838                libtrace_int.h lt_inttypes.h \
    3939                linktypes.c protocols.c libtraceio.h link_wireless.c \
  • lib/libtrace.h.in

    rf0c639b re01a738  
    257257        TRACE_FORMAT_LINUX_NATIVE =9,
    258258        TRACE_FORMAT_DUCK         =10,
    259         TRACE_FORMAT_BPF          =11
     259        TRACE_FORMAT_BPF          =11,
     260        TRACE_FORMAT_TSH          =12
    260261};
    261262
     
    292293        TRACE_RT_DATA_LEGACY_ETH=TRACE_RT_DATA_SIMPLE+TRACE_FORMAT_LEGACY_ETH,
    293294        TRACE_RT_DATA_LINUX_NATIVE=TRACE_RT_DATA_SIMPLE+TRACE_FORMAT_LINUX_NATIVE,
     295        TRACE_RT_DATA_TSH       =TRACE_RT_DATA_SIMPLE+TRACE_FORMAT_TSH,
    294296
    295297        TRACE_RT_DATA_DLT               = 2000, /**< Pcap doesn't store the
  • lib/libtrace_int.h

    r1f47cdd re01a738  
    450450#endif
    451451void erf_constructor(void);
     452void tsh_constructor(void);
    452453void legacy_constructor(void);
    453454void linuxnative_constructor(void);
  • lib/trace.c

    rd242ea8 re01a738  
    222222                duck_constructor();
    223223                erf_constructor();
     224                tsh_constructor();
    224225                legacy_constructor();
    225226#ifdef HAVE_NETPACKET_PACKET_H
Note: See TracChangeset for help on using the changeset viewer.