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

Source Code for Module dpkt.ipx

 1  # $Id: ipx.py 23 2006-11-08 15:45:33Z dugsong $ 
 2  # -*- coding: utf-8 -*- 
 3  """Internetwork Packet Exchange.""" 
 4  from __future__ import absolute_import 
 5   
 6  from . import dpkt 
 7   
 8  IPX_HDR_LEN = 30 
 9   
10   
11 -class IPX(dpkt.Packet):
12 """Internetwork Packet Exchange. 13 14 TODO: Longer class information.... 15 16 Attributes: 17 __hdr__: Header fields of IPX. 18 TODO. 19 """ 20 21 __hdr__ = ( 22 ('sum', 'H', 0xffff), 23 ('len', 'H', IPX_HDR_LEN), 24 ('tc', 'B', 0), 25 ('pt', 'B', 0), 26 ('dst', '12s', ''), 27 ('src', '12s', '') 28 )
29