Changeset 9c6005f for libpacketdump


Ignore:
Timestamp:
09/05/07 11:26:46 (13 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:
1008250
Parents:
5798dc6
Message:

tracepktdump now outputs the libtrace direction value for each packet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/libpacketdump.cc

    r278849f r9c6005f  
    8585
    8686        printf("\n%s",ctime(&sec));
    87         printf(" Capture: Packet Length: %i/%i\n",
     87        printf(" Capture: Packet Length: %i/%i Direction Value: %i\n",
    8888                        (int)trace_get_capture_length(packet),
    89                         (int)trace_get_wire_length(packet));
     89                        (int)trace_get_wire_length(packet),
     90                        (int)trace_get_direction(packet));
    9091        if (!link)
    9192                printf(" [No link layer available]\n");
Note: See TracChangeset for help on using the changeset viewer.