Changeset cab58c5 for lib/format_erf.c


Ignore:
Timestamp:
11/14/06 13:21:39 (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:
35e0869
Parents:
33d83d4
Message:

Move RT_* to TRACE_RT_* and put it in libtrace.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r33d83d4 rcab58c5  
    476476        }
    477477
    478         packet->type = RT_DUCK_2_4;
     478        packet->type = TRACE_RT_DUCK_2_4;
    479479        if (!DUCK.dummy_duck)
    480480                DUCK.dummy_duck = trace_create_dead("duck:dummy");
     
    561561        }
    562562       
    563         packet->type = RT_DATA_ERF;
     563        packet->type = TRACE_RT_DATA_ERF;
    564564       
    565565        if ((numbytes = dag_read(libtrace,0)) < 0)
     
    642642       
    643643        packet->header = packet->buffer;
    644         packet->type = RT_DATA_ERF;
     644        packet->type = TRACE_RT_DATA_ERF;
    645645
    646646        if ((numbytes=libtrace_io_read(INPUT.file,
     
    668668        if ((numbytes=libtrace_io_read(INPUT.file,
    669669                                        buffer2,
    670                                         size)) != size) {
     670                                        size)) != (int)size) {
    671671                if (numbytes==-1) {
    672672                        trace_set_err(libtrace,errno, "read(%s)", libtrace->uridata);
     
    686686
    687687static int erf_dump_packet(libtrace_out_t *libtrace,
    688                 dag_record_t *erfptr, int pad, void *buffer) {
     688                dag_record_t *erfptr, unsigned int pad, void *buffer) {
    689689        int numbytes = 0;
    690690        int size;
Note: See TracChangeset for help on using the changeset viewer.