Package dpkt :: Module netflow :: Class Netflow7
[hide private]
[frames] | no frames]

Class Netflow7

source code

object --+            
         |            
   ??.Temp --+        
             |        
   dpkt.Packet --+    
                 |    
       NetflowBase --+
                     |
                    Netflow7

Netflow Version 7.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of Netflow Version 7.
    TODO.

Nested Classes [hide private]
  NetflowRecord
Netflow v6 flow record.

Inherited from NetflowBase: NetflowRecordBase

Instance Methods [hide private]

Inherited from NetflowBase: __bytes__, __len__, unpack

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__ = (('version', 'H', 1), ('count', 'H', 0), ('sys_uptim...
  __hdr_defaults__ = {'count': 0, 'flow_sequence': 0, 'reserved'...
  __hdr_fields__ = ['version', 'count', 'sys_uptime', 'unix_sec'...
  __hdr_fmt__ = '>HHIIIII'
  __hdr_len__ = 24
Properties [hide private]
  count
  data
  flow_sequence
  reserved
  sys_uptime
  unix_nsec
  unix_sec
  version

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('version', 'H', 1),
 ('count', 'H', 0),
 ('sys_uptime', 'I', 0),
 ('unix_sec', 'I', 0),
 ('unix_nsec', 'I', 0),
 ('flow_sequence', 'I', 0),
 ('reserved', 'I', 0))

__hdr_defaults__

Value:
{'count': 0,
 'flow_sequence': 0,
 'reserved': 0,
 'sys_uptime': 0,
 'unix_nsec': 0,
 'unix_sec': 0,
 'version': 1}

__hdr_fields__

Value:
['version',
 'count',
 'sys_uptime',
 'unix_sec',
 'unix_nsec',
 'flow_sequence',
 'reserved']