Package dpkt :: Module bgp :: Class BGP :: Class Update :: Class Attribute :: Class Communities
[hide private]
[frames] | no frames]

Class Communities

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                BGP.Update.Attribute.Communities

Nested Classes [hide private]
  Community
  ReservedCommunity
Instance Methods [hide private]
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code
 
__len__(self) source code
 
__bytes__(self) source code

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_defaults__ = {'list': []}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

unpack(self, buf)

source code 
Unpack packet header fields from buf, and set self.data.

Overrides: dpkt.Packet.unpack
(inherited documentation)

__len__(self)
(Length operator)

source code 
Overrides: dpkt.Packet.__len__

__bytes__(self)

source code 
Overrides: dpkt.Packet.__bytes__