Changeset 6dbc47a for lib/trace.c
- Timestamp:
- 02/21/06 15:48:53 (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:
- 9ff68ff
- Parents:
- 1b4901a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
r0a6638f r6dbc47a 116 116 #include "libtrace_int.h" 117 117 #include "format_helper.h" 118 #include "rt_protocol.h" 118 119 #include <err.h> 119 120 … … 544 545 * structure */ 545 546 packet->trace = libtrace; 546 547 packet->type = RT_DATA; 548 547 549 if (libtrace->format->read_packet) { 548 550 do { … … 1566 1568 return uridata; 1567 1569 } 1570 1571 enum base_format_t trace_get_format(struct libtrace_packet_t *packet) { 1572 assert(packet); 1573 1574 return packet->trace->format->type; 1575 } 1568 1576 1569 1577 /** Update the libtrace error
Note: See TracChangeset
for help on using the changeset viewer.