- Timestamp:
- 11/28/05 10:15:22 (15 years ago)
- 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
- Location:
- examples
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/capture/capture.c
r05e83dc r3840760 98 98 struct sigaction sigact; 99 99 dag_record_t *erfptr = 0; 100 struct libtrace_packet_t packet;100 struct libtrace_packet_t *packet = trace_packet_create(); 101 101 102 102 struct itimerval itv; -
examples/count/tracestats.c
r4dd7363 r3840760 68 68 void run_trace(char *uri) 69 69 { 70 struct libtrace_packet_t packet;70 struct libtrace_packet_t *packet = trace_packet_create(); 71 71 int i; 72 72 uint64_t count = 0; -
examples/erfsplit/erfsplit.c
r7e9d51c r3840760 75 75 time_t ts = 0; 76 76 uint64_t number = 0; 77 struct libtrace_packet_t packet;77 struct libtrace_packet_t *packet = trace_packet_create(); 78 78 parse_cmdline(argc,argv); 79 79 -
examples/event/rate-tracetime.c
r264f4469 r3840760 100 100 int psize = 0; 101 101 struct libtrace_ip *ipptr = 0; 102 struct libtrace_packet_t packet;102 struct libtrace_packet_t *packet = trace_packet_create(); 103 103 uint32_t last_second = 0; 104 104 double ts = 0.0; -
examples/event/rate.c
re81d1af r3840760 105 105 struct sigaction sigact; 106 106 struct libtrace_ip *ipptr = 0; 107 struct libtrace_packet_t packet;107 struct libtrace_packet_t *packet = trace_packet_create(); 108 108 109 109 struct itimerval itv; -
examples/munge/munge.c
r1974620 r3840760 177 177 struct libtrace_filter_t *filter = NULL; 178 178 struct libtrace_t *trace = 0; 179 struct libtrace_packet_t packet;179 struct libtrace_packet_t *packet = trace_packet_create(); 180 180 struct libtrace_out_t *writer = 0; 181 181 bool enc_source = false; -
examples/pcap2erf/pcap2erf.c
rb535184 r3840760 72 72 73 73 struct pcap_pkthdr *header; 74 struct libtrace_packet_t packet;74 struct libtrace_packet_t *packet = trace_packet_create(); 75 75 unsigned long seconds, subseconds; 76 76 unsigned short rlen, lctr, wlen, offset, pad; -
examples/protocol/protocol.c
r5ed52b8 r3840760 98 98 99 99 struct libtrace_ip *ipptr = 0; 100 struct libtrace_packet_t packet;100 struct libtrace_packet_t *packet = trace_packet_create(); 101 101 102 102 int psize; -
examples/rate/rate-dir.c
r2cc187b r3840760 117 117 int direction = 0; 118 118 struct libtrace_ip *ipptr = 0; 119 struct libtrace_packet_t packet;119 struct libtrace_packet_t *packet = trace_packet_create(); 120 120 121 121 uint32_t last_second = 0; -
examples/rate/rate.c
r0675ea1 r3840760 95 95 int psize = 0; 96 96 struct libtrace_ip *ipptr = 0; 97 struct libtrace_packet_t packet;97 struct libtrace_packet_t *packet = trace_packet_create(); 98 98 99 99 uint32_t last_second = 0; -
examples/rxtest/rxtest.c
r85c7de8 r3840760 53 53 int main(int argc, char **argv) { 54 54 55 struct libtrace_packet_t packet;55 struct libtrace_packet_t *packet = trace_packet_create(); 56 56 dag_record_t *erfptr; 57 57 -
examples/sample/sample.c
rde67322 r3840760 64 64 int psize = 0; 65 65 struct libtrace_ip *ipptr = 0; 66 struct libtrace_packet_t packet;66 struct libtrace_packet_t *packet = trace_packet_create(); 67 67 struct libtrace_filter_t *filter = 0; 68 68 -
examples/tracedump/tracedump.c
rf20b30e r3840760 35 35 int main(int argc, char *argv[]) { 36 36 37 struct libtrace_packet_t packet;37 struct libtrace_packet_t *packet = trace_packet_create(); 38 38 struct libtrace_t *trace; 39 39 -
examples/tracemark/tracemark.c
redca0b8 r3840760 58 58 void run_trace(char *uri) 59 59 { 60 struct libtrace_packet_t packet;60 struct libtrace_packet_t *packet = trace_packet_create(); 61 61 uint64_t count = 0; 62 62 uint64_t bytes = 0;
Note: See TracChangeset
for help on using the changeset viewer.