Changeset c26ca86
- Timestamp:
- 02/28/06 10:40:12 (16 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:
- 0d57541
- Parents:
- 5fb2251
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/fifo.c
r5fb2251 rc26ca86 233 233 234 234 int tracefifo_write(struct tracefifo_t *fifo, void *buffer, size_t len) { 235 int lenleft;236 size_t size;235 size_t lenleft; 236 int size; 237 237 assert(fifo); 238 238 assert(buffer); -
lib/format_rt.c
rd8f02df rc26ca86 327 327 328 328 static int rt_send_ack(struct libtrace_t *libtrace, 329 struct libtrace_packet_t *packet,uint32_t seqno) {329 uint32_t seqno) { 330 330 331 331 static char *ack_buffer = 0; … … 416 416 if (reliability > 0) { 417 417 418 if (rt_send_ack(libtrace, p acket,419 pkt_hdr.sequence)== -1)418 if (rt_send_ack(libtrace, pkt_hdr.sequence) 419 == -1) 420 420 { 421 421 return -1; … … 476 476 } 477 477 478 static int rt_get_framing_length(const structlibtrace_packet_t *packet) {478 static int rt_get_framing_length(const libtrace_packet_t *packet) { 479 479 return 0; 480 480 } 481 481 482 482 483 static int rt_get_fd(const structlibtrace_t *trace) {483 static int rt_get_fd(const libtrace_t *trace) { 484 484 return ((struct rt_format_data_t *)trace->format_data)->input_fd; 485 485 }
Note: See TracChangeset
for help on using the changeset viewer.