Package dpkt :: Module ieee80211 :: Class IEEE80211
[hide private]
[frames] | no frames]

Class IEEE80211

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                IEEE80211

IEEE 802.11.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of IEEE802.11.
    TODO.

Nested Classes [hide private]
  Capability
  BlockAckReq
  BlockAck
  RTS
  CTS
  ACK
  CFEnd
  MGMT_Frame
  Beacon
  Disassoc
  Assoc_Req
  Assoc_Resp
  Reassoc_Req
  Auth
  Deauth
  Action
  BlockAckActionRequest
  BlockAckActionResponse
  Data
  DataFromDS
  DataToDS
  DataInterDS
  QoS_Data
  IE
  FH
  DS
  CF
  TIM
  IBSS
Instance Methods [hide private]
 
unpack_ies(self, buf) source code
 
__init__(self, *args, **kwargs)
Packet constructor with ([buf], [field=val,...]) prototype.
source code
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code

Inherited from dpkt.Packet: __bytes__, __getitem__, __len__, __repr__, __str__, pack, pack_hdr

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

Class Variables [hide private]
  __hdr__ = (('framectl', 'H', 0), ('duration', 'H', 0))
  __hdr_defaults__ = {'duration': 0, 'framectl': 0}
  __hdr_fields__ = ['framectl', 'duration']
  __hdr_fmt__ = '>HH'
  __hdr_len__ = 4
Properties [hide private]
  version
  type
  subtype
  to_ds
  from_ds
  more_frag
  retry
  pwr_mgt
  more_data
  wep
  order
  data
  duration
  framectl

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Packet constructor with ([buf], [field=val,...]) prototype.

Arguments:

buf -- optional packet buffer to unpack

Optional keyword arguments correspond to members to set
(matching fields in self.__hdr__, or 'data').

Overrides: object.__init__
(inherited documentation)

unpack(self, buf)

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

Overrides: dpkt.Packet.unpack
(inherited documentation)

Property Details [hide private]

version

Get Method:
unreachable.version(self)
Set Method:
unreachable.version(self, val)

type

Get Method:
unreachable.type(self)
Set Method:
unreachable.type(self, val)

subtype

Get Method:
unreachable.subtype(self)
Set Method:
unreachable.subtype(self, val)

to_ds

Get Method:
unreachable.to_ds(self)
Set Method:
unreachable.to_ds(self, val)

from_ds

Get Method:
unreachable.from_ds(self)
Set Method:
unreachable.from_ds(self, val)

more_frag

Get Method:
unreachable.more_frag(self)
Set Method:
unreachable.more_frag(self, val)

retry

Get Method:
unreachable.retry(self)
Set Method:
unreachable.retry(self, val)

pwr_mgt

Get Method:
unreachable.pwr_mgt(self)
Set Method:
unreachable.pwr_mgt(self, val)

more_data

Get Method:
unreachable.more_data(self)
Set Method:
unreachable.more_data(self, val)

wep

Get Method:
unreachable.wep(self)
Set Method:
unreachable.wep(self, val)

order

Get Method:
unreachable.order(self)
Set Method:
unreachable.order(self, val)