Package dpkt :: Module ip6 :: Class IP6
[show private | hide private]
[frames | no frames]

Type IP6

object --+    
         |    
    Packet --+
             |
            IP6


Method Summary
  __str__(self)
  get_proto(cls, p)
(Class method)
  set_proto(cls, p, pktclass)
(Class method)
  unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
    Inherited from Packet
  __init__(self, *args, **kwargs)
Packet constructor with ([buf], [field=val,...]) prototype.
  __getitem__(self, k)
  __len__(self)
  __repr__(self)
  pack(self)
Return packed header + self.data string.
  pack_hdr(self)
Return packed header string.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Property Summary
  fc
  flow
  v

Class Variable Summary
tuple __hdr__ = (('v_fc_flow', 'I', 1610612736L), ('plen', 'H'...
dict __hdr_defaults__ = {'src': '', 'v_fc_flow': 1610612736L,...
list __hdr_fields__ = ['v_fc_flow', 'plen', 'nxt', 'hlim', 's...
str __hdr_fmt__ = '>IHBB16s16s'
int __hdr_len__ = 40                                                                    

Instance Method Details

unpack(self, buf)

Unpack packet header fields from buf, and set self.data.
Overrides:
dpkt.dpkt.Packet.unpack (inherited documentation)

Class Variable Details

__hdr__

Type:
tuple
Value:
(('v_fc_flow', 'I', 1610612736L),
 ('plen', 'H', 0),
 ('nxt', 'B', 0),
 ('hlim', 'B', 0),
 ('src', '16s', ''),
 ('dst', '16s', ''))                                                   

__hdr_defaults__

Type:
dict
Value:
{'dst': '',
 'hlim': 0,
 'nxt': 0,
 'plen': 0,
 'src': '',
 'v_fc_flow': 1610612736L}                                             

__hdr_fields__

Type:
list
Value:
['v_fc_flow', 'plen', 'nxt', 'hlim', 'src', 'dst']                     

__hdr_fmt__

Type:
str
Value:
'>IHBB16s16s'                                                          

__hdr_len__

Type:
int
Value:
40                                                                    

Generated by Epydoc 2.1 on Sun Oct 1 11:24:12 2006 http://epydoc.sf.net