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

Class Netflow5

source code

 object --+        
          |        
dpkt.Packet --+    
              |    
    NetflowBase --+
                  |
                 Netflow5

Netflow Version 5.

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

Inherited from NetflowBase: NetflowRecordBase

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]

Inherited from NetflowBase: __len__, __str__, unpack

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

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

Class Variables [hide private]
  __hdr__ = (('version', 'H', 1), ('count', 'H', 0), ('sys_uptim...
  __hdr_defaults__ = {'count': 0, 'engine_id': 0, 'engine_type':...
  __hdr_fields__ = ['version', 'count', 'sys_uptime', 'unix_sec'...
  __hdr_fmt__ = '>HHIIIIBBH'
  __hdr_len__ = 24
Properties [hide private]

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),
 ('engine_type', 'B', 0),
 ('engine_id', 'B', 0),
...

__hdr_defaults__

Value:
{'count': 0,
 'engine_id': 0,
 'engine_type': 0,
 'flow_sequence': 0,
 'reserved': 0,
 'sys_uptime': 0,
 'unix_nsec': 0,
 'unix_sec': 0,
...

__hdr_fields__

Value:
['version',
 'count',
 'sys_uptime',
 'unix_sec',
 'unix_nsec',
 'flow_sequence',
 'engine_type',
 'engine_id',
...