Changeset 278849f for libpacketdump


Ignore:
Timestamp:
06/19/07 14:31:20 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
f2f3327
Parents:
758c920
Message:

Add packet length information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/libpacketdump.cc

    rbed8c66 r278849f  
    8585
    8686        printf("\n%s",ctime(&sec));
     87        printf(" Capture: Packet Length: %i/%i\n",
     88                        (int)trace_get_capture_length(packet),
     89                        (int)trace_get_wire_length(packet));
    8790        if (!link)
    8891                printf(" [No link layer available]\n");
Note: See TracChangeset for help on using the changeset viewer.