- Timestamp:
- 07/29/05 13:29:30 (17 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:
- 1fc2f6a
- Parents:
- 7050c10
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h
r5eae97a r74c7660 446 446 * @author Daniel Lawson 447 447 */ 448 size_t trace_ truncate_packet(struct libtrace_packet_t *packet, size_t size);448 size_t trace_set_capture_length(struct libtrace_packet_t *packet, size_t size); 449 449 450 450 /** Set the direction flag, if it has one -
lib/trace.c
r7050c10 r74c7660 1604 1604 } 1605 1605 1606 size_t trace_truncate_packet(struct libtrace_packet_t *packet, size_t size) {1607 return trace_set_capture_length(packet,size);1608 }1609 1610 1606 /** Truncate the packet at the suggested length 1611 1607 * @param packet the packet opaque pointer
Note: See TracChangeset
for help on using the changeset viewer.