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

Source Code for Module dpkt.pmap

 1  # $Id: pmap.py 23 2006-11-08 15:45:33Z dugsong $ 
 2  # -*- coding: utf-8 -*- 
 3  """Portmap / rpcbind.""" 
 4  from __future__ import absolute_import 
 5   
 6  from . import dpkt 
 7   
 8  PMAP_PROG = 100000 
 9  PMAP_PROCDUMP = 4 
10  PMAP_VERS = 2 
11   
12   
13 -class Pmap(dpkt.Packet):
14 """Portmap / rpcbind. 15 16 TODO: Longer class information.... 17 18 Attributes: 19 __hdr__: Header fields of Pmap. 20 TODO. 21 """ 22 23 __hdr__ = ( 24 ('prog', 'I', 0), 25 ('vers', 'I', 0), 26 ('prot', 'I', 0), 27 ('port', 'I', 0), 28 )
29