Changeset 7c8eacf for lib/libtrace.h


Ignore:
Timestamp:
10/27/05 14:05:36 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
2458162
Parents:
0d82205
Message:

updated changelog
added trace_get_framing_length() to return the capture-format framing (eg, ERF or pcap headers).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r0d82205 r7c8eacf  
    493493int trace_get_wire_length(const struct libtrace_packet_t *packet);
    494494
     495/** Get the length of the capture framing headers.
     496 * @param packet        the packet opaque pointer
     497 * @returns the size of the packet as it was on the wire.
     498 * @author Perry Lorier
     499 * @author Daniel Lawson
     500 * @note this length corresponds to the difference between the size of a
     501 * captured packet in memory, and the captured length of the packet
     502 */
     503SIMPLE_FUNCTION
     504int trace_get_framing_length(const struct libtrace_packet_t *packet);
     505
     506
    495507/** Link layer types
    496508 * This enumates the various different link types that libtrace understands
Note: See TracChangeset for help on using the changeset viewer.