Changeset 9836f12 for lib/format_pcap.c


Ignore:
Timestamp:
02/23/06 15:27:51 (16 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:
c1f2553
Parents:
d3b2234
Message:

Fixed get_fd call in format_helper to use trace as a parameter instead of packet
pcap_get_wire_length no longer ntohs() the len field of the pcap header
rt_read_packet no longer requires the tracefifo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    rd3b2234 r9836f12  
    405405        struct pcap_pkthdr *pcapptr = 0;
    406406        pcapptr = (struct pcap_pkthdr *)packet->header;
    407         return ntohs(pcapptr->len);
     407        return pcapptr->len;
    408408}
    409409
Note: See TracChangeset for help on using the changeset viewer.