Changeset c1db742 for lib/trace.c
- Timestamp:
- 02/22/06 16:44:31 (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:
- f0d19d4
- Parents:
- fe76c55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
rfe76c55 rc1db742 519 519 libtrace_packet_t *trace_create_packet() { 520 520 libtrace_packet_t *packet = calloc(1,sizeof(libtrace_packet_t)); 521 packet->buf_control= PACKET;521 packet->buf_control=TRACE_CTRL_PACKET; 522 522 return packet; 523 523 } … … 547 547 assert(libtrace->started && "BUG: You must call libtrace_start() before trace_read_packet()\n"); 548 548 assert(packet); 549 assert((packet->buf_control== PACKET || packet->buf_control==EXTERNAL)&&549 assert((packet->buf_control==TRACE_CTRL_PACKET || packet->buf_control==TRACE_CTRL_EXTERNAL)&& 550 550 "BUG: You must allocate a packet using packet_create()"); 551 551
Note: See TracChangeset
for help on using the changeset viewer.