Changeset 64d4398 for lib/libtrace.h.in


Ignore:
Timestamp:
10/24/12 13:37:54 (9 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:
afaf6e8
Parents:
d11be03
Message:

Fixed bugs when converting packets from Linux SLL (pcap) to ERF - thanks to Simon Wadsworth for reporting this problem

  • Raw IP packets (e.g. captured using pcapint:any) are now treated as TRACE_TYPE_NONE internally.
  • TRACE_TYPE_NONE maps to the ERF type TYPE_IPV4 - distinguishing between IPv4 and IPv6 within the current API is a bit tricky so that's on the TODO list
  • Wire length calculation for Ethernet encapsulated inside Linux SLL now includes the FCS, just like every other libtrace packet format.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r16c598d r64d4398  
    405405typedef enum {
    406406        /* Numbers <=1500 are of course, LLC/SNAP */
     407        TRACE_ETHERTYPE_LOOPBACK= 0x0060,       /**< Ethernet Loopback */
    407408        TRACE_ETHERTYPE_IP      = 0x0800,       /**< IPv4 */
    408409        TRACE_ETHERTYPE_ARP     = 0x0806,       /**< Address resolution protocol */
Note: See TracChangeset for help on using the changeset viewer.