Changeset 6cd7c20


Ignore:
Timestamp:
10/11/04 15:25:57 (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:
24e9fed
Parents:
be78902
Message:

poink

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r063c879 r6cd7c20  
    358358        TRACE_EVENT_SLEEP,
    359359        TRACE_EVENT_PACKET
    360 } libtrace_eventtype_t;
    361 
    362 struct libtrace_event_t {
    363         libtrace_eventtype_t type;
     360} libtrace_event_t;
     361
     362struct libtrace_eventobj_t {
     363        libtrace_event_t type;
    364364        int fd;
    365365        double seconds;
     
    379379 *  TRACE_EVENT_PACKET  Packet arrived in <buffer> with size <size>
    380380 */
    381 struct libtrace_event_t trace_event(struct libtrace_t *trace,
     381struct libtrace_eventobj_t trace_event(struct libtrace_t *trace,
    382382                struct libtrace_packet_t *packet);
    383383
  • lib/trace.c

    r063c879 r6cd7c20  
    10451045 * @author Perry Lorier
    10461046 */
    1047 struct libtrace_event_t libtrace_event(struct libtrace_t *trace,
     1047struct libtrace_eventobj_t libtrace_event(struct libtrace_t *trace,
    10481048                struct libtrace_packet_t *packet) {
    1049         struct libtrace_event_t event;
     1049        struct libtrace_eventobj_t event;
    10501050        /* Is there a packet ready? */
    10511051        switch (trace->sourcetype) {
Note: See TracChangeset for help on using the changeset viewer.