Changeset 44c6c85
- Timestamp:
- 11/01/05 16:35:36 (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:
- a3505a8
- Parents:
- 803ea87
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_erf.c
r803ea87 r44c6c85 36 36 #include "format_helper.h" 37 37 #include "parse_cmd.h" 38 #include "rt_protocol.h"39 38 40 39 #ifdef HAVE_INTTYPES_H … … 624 623 // Read status byte 625 624 if (tracefifo_out_read(libtrace->fifo, 626 &packet->status, sizeof( rt_status_t)) == 0) {625 &packet->status, sizeof(uint32_t)) == 0) { 627 626 read_required = 1; 628 627 continue; 629 628 } 630 tracefifo_out_update(libtrace->fifo,sizeof( rt_status_t));629 tracefifo_out_update(libtrace->fifo,sizeof(uint32_t)); 631 630 632 631 // read in the ERF header … … 641 640 // Need to skip this packet as it is a message packet 642 641 tracefifo_out_update(libtrace->fifo, dag_record_size); 643 tracefifo_ack_update(libtrace->fifo, dag_record_size + sizeof( rt_status_t));642 tracefifo_ack_update(libtrace->fifo, dag_record_size + sizeof(uint32_t)); 644 643 continue; 645 644 } … … 658 657 tracefifo_out_update(libtrace->fifo,size); 659 658 660 tracefifo_ack_update(libtrace->fifo,size + sizeof( rt_status_t));659 tracefifo_ack_update(libtrace->fifo,size + sizeof(uint32_t)); 661 660 662 661 packet->size = numbytes;
Note: See TracChangeset
for help on using the changeset viewer.