Package dpkt :: Module ah :: Class AH
[hide private]
[frames] | no frames]

Class AH

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                AH

Authentication Header.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of AH.
    auth: Authentication body.
    data: Message data.

Instance Methods [hide private]
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code
 
__len__(self) source code
 
__bytes__(self) source code

Inherited from dpkt.Packet: __getitem__, __init__, __repr__, __str__, pack, pack_hdr

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __hdr__ = (('nxt', 'B', 0), ('len', 'B', 0), ('rsvd', 'H', 0),...
  auth = ''
  __hdr_defaults__ = {'len': 0, 'nxt': 0, 'rsvd': 0, 'seq': 0, '...
  __hdr_fields__ = ['nxt', 'len', 'rsvd', 'spi', 'seq']
  __hdr_fmt__ = '>BBHII'
  __hdr_len__ = 12
Properties [hide private]
  data
  len
  nxt
  rsvd
  seq
  spi

Inherited from object: __class__

Method Details [hide private]

unpack(self, buf)

source code 
Unpack packet header fields from buf, and set self.data.

Overrides: dpkt.Packet.unpack
(inherited documentation)

__len__(self)
(Length operator)

source code 
Overrides: dpkt.Packet.__len__

__bytes__(self)

source code 
Overrides: dpkt.Packet.__bytes__

Class Variable Details [hide private]

__hdr__

Value:
(('nxt', 'B', 0),
 ('len', 'B', 0),
 ('rsvd', 'H', 0),
 ('spi', 'I', 0),
 ('seq', 'I', 0))

__hdr_defaults__

Value:
{'len': 0, 'nxt': 0, 'rsvd': 0, 'seq': 0, 'spi': 0}