Package dpkt :: Module tpkt
[hide private]
[frames] | no frames]

Source Code for Module dpkt.tpkt

 1  # $Id: tpkt.py 23 2006-11-08 15:45:33Z dugsong $ 
 2   
 3  """ISO Transport Service on top of the TCP (TPKT).""" 
 4   
 5  import dpkt 
 6   
 7  # TPKT - RFC 1006 Section 6 
 8  # http://www.faqs.org/rfcs/rfc1006.html 
 9   
10 -class TPKT(dpkt.Packet):
11 __hdr__ = ( 12 ('v', 'B', 3), 13 ('rsvd', 'B', 0), 14 ('len', 'H', 0) 15 )
16