Changeset bad6a93 for lib/protocols.c


Ignore:
Timestamp:
09/20/06 16:42:52 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
e86124e
Parents:
d0aa87c
Message:

trace_get_vlan_payload_from_ethernet is now available to libtrace users.
Fixed error where erf wire length was having padding subtracted from it - wire length doesn't include padding.
erf can also attach padding to the end of packets - get_capture_length now returns the minimum of the record length - padding and the wire length.
Added support for RT_LOSTCONN - also other zero sized rt packets shouldn't cause TRACE_EVENT_TERMINATE anymore
rt header information is no longer stored statically when doing a non-blocking read
The packet->buffer for rt packets is now regarded as external, so now trace_destroy_packet shouldn't cause a segfault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    re5222e1 rbad6a93  
    4646 * type is input/output
    4747 */
    48 static void *trace_get_vlan_payload_from_ethernet_payload(void *ethernet, uint16_t *type,
     48void *trace_get_vlan_payload_from_ethernet_payload(void *ethernet, uint16_t *type,
    4949                uint32_t *remaining)
    5050{
Note: See TracChangeset for help on using the changeset viewer.