Changeset 3840760 for examples/event


Ignore:
Timestamp:
11/28/05 10:15:22 (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:
08594b8
Parents:
14d8a63
Message:

updated the examples/ and tools/ directories to correctly use trace_packet_create() now.

fixed a typo in format_wag (shouldn't use pcap_get_framing_length for wag!)

Location:
examples/event
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • examples/event/rate-tracetime.c

    r264f4469 r3840760  
    100100        int psize = 0;
    101101        struct libtrace_ip *ipptr = 0;
    102         struct libtrace_packet_t packet;
     102        struct libtrace_packet_t *packet = trace_packet_create();
    103103        uint32_t last_second = 0;
    104104        double ts = 0.0;
  • examples/event/rate.c

    re81d1af r3840760  
    105105        struct sigaction sigact;
    106106        struct libtrace_ip *ipptr = 0;
    107         struct libtrace_packet_t packet;
     107        struct libtrace_packet_t *packet = trace_packet_create();
    108108
    109109        struct itimerval itv;
Note: See TracChangeset for help on using the changeset viewer.