Ignore:
Timestamp:
09/21/04 13:45:44 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
6f34090
Parents:
2980487
Message:

poink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/python/check.py

    r2980487 r77ba31d  
    88
    99
     10packet = libtrace.Packet()
    1011
    1112while 1:
    12         packet = libtrace.Packet()
    1313        trace.trace_read_packet(packet)
    1414        if not packet:
    1515                break
    16         ippacket = packet.trace_get_ip()
    17         if not ippacket:
    18                 continue
     16        #ippacket = packet.trace_get_ip()
     17        #if not ippacket:
     18#               continue
    1919
    20         print ippacket.ip_src,'->',ippacket.ip_dst
     20        print packet.size
     21        #print ippacket.ip_src,'->',ippacket.ip_dst
    2122
Note: See TracChangeset for help on using the changeset viewer.