Changeset aa60a6b


Ignore:
Timestamp:
07/26/04 10:58:14 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
9729a8d
Parents:
a257602
Message:

optimisations

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile

    rbe54c88 raa60a6b  
    1414CURRENT=1
    1515AGE=0
    16 REVISION=9
     16REVISION=10
    1717
    1818INCLIBS=/usr/local/wand/lib/libzl.a /usr/local/wand/lib/libpcapl.a
  • lib/trace.c

    ra257602 raa60a6b  
    431431        assert(len > 200);
    432432
    433         bzero(buffer,len);
     433        //bzero(buffer,len);
    434434       
    435435        /* PCAP gives us it's own per-packet interface. Let's use it */
     
    446446
    447447        /* If we're reading from an ERF input, it's an offline trace. We can make some assumptions */
    448         /*
     448       
    449449        if (libtrace->format == ERF) {
    450450                void *buffer2 = buffer;
     
    471471                }
    472472                return sizeof(dag_record_t) + numbytes;
    473         }*/
     473        }
    474474        do {
    475475                if (fifo_out_available(libtrace->fifo) == 0 || read_required) {
Note: See TracChangeset for help on using the changeset viewer.