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

Class Netflow7

source code

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

Netflow Version 7.

Nested Classes [hide private]
  NetflowRecord
Netflow v7 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, 'flow_sequence': 0, 'reserved'...
  __hdr_fields__ = ['version', 'count', 'sys_uptime', 'unix_sec'...
  __hdr_fmt__ = '>HHIIIII'
  __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),
 ('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']