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

Class Attribute

source code

 object --+    
          |    
dpkt.Packet --+
              |
             BGP.Update.Attribute

Nested Classes [hide private]
  Origin
  ASPath
  NextHop
  MultiExitDisc
  LocalPref
  AtomicAggregate
  Aggregator
  Communities
  OriginatorID
  ClusterList
  MPReachNLRI
  MPUnreachNLRI

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]
 
_get_o(self) source code
 
_set_o(self, o) source code
 
_get_t(self) source code
 
_set_t(self, t) source code
 
_get_p(self) source code
 
_set_p(self, p) source code
 
_get_e(self) source code
 
_set_e(self, e) source code
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code
 
__len__(self) source code
 
__str__(self)
str(x)
source code

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

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

Class Variables [hide private]
  __hdr__ = (('flags', 'B', 0), ('type', 'B', 0))
  __hdr_defaults__ = {'flags': 0, 'type': 0}
  __hdr_fields__ = ['flags', 'type']
  __hdr_fmt__ = '>BB'
  __hdr_len__ = 2
Properties [hide private]
  optional
  transitive
  partial
  extended_length

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__

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

optional

Get Method:
_get_o(self)
Set Method:
_set_o(self, o)

transitive

Get Method:
_get_t(self)
Set Method:
_set_t(self, t)

partial

Get Method:
_get_p(self)
Set Method:
_set_p(self, p)

extended_length

Get Method:
_get_e(self)
Set Method:
_set_e(self, e)