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

Class NetflowRecord

source code

               object --+        
                        |        
              dpkt.Packet --+    
                            |    
NetflowBase.NetflowRecordBase --+
                                |
                               Netflow1.NetflowRecord

Netflow v1 flow record.

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]

Inherited from NetflowBase.NetflowRecordBase: __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__ = (('src_addr', 'I', 0), ('dst_addr', 'I', 0), ('next_...
  __hdr_defaults__ = {'bytes_sent': 0, 'dst_addr': 0, 'dst_port'...
  __hdr_fields__ = ['src_addr', 'dst_addr', 'next_hop', 'input_i...
  __hdr_fmt__ = '>IIIHHIIIIHHHBBBBHI'
  __hdr_len__ = 48
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('src_addr', 'I', 0),
 ('dst_addr', 'I', 0),
 ('next_hop', 'I', 0),
 ('input_iface', 'H', 0),
 ('output_iface', 'H', 0),
 ('pkts_sent', 'I', 0),
 ('bytes_sent', 'I', 0),
 ('start_time', 'I', 0),
...

__hdr_defaults__

Value:
{'bytes_sent': 0,
 'dst_addr': 0,
 'dst_port': 0,
 'end_time': 0,
 'input_iface': 0,
 'ip_proto': 0,
 'next_hop': 0,
 'output_iface': 0,
...

__hdr_fields__

Value:
['src_addr',
 'dst_addr',
 'next_hop',
 'input_iface',
 'output_iface',
 'pkts_sent',
 'bytes_sent',
 'start_time',
...