Class: PacketGen::Header::Dot11::Disas

Inherits:
SubMngt
  • Object
show all
Defined in:
lib/packetgen/header/dot11/sub_mngt.rb

Overview

IEEE 802.11 Disassociation frame

Specialize Management with subtype set to 10.

Add fields:

Author:

  • Sylvain Daubert

Since:

  • 1.4.0

Instance Attribute Summary collapse

Method Summary

Methods inherited from SubMngt

#elements

Methods inherited from Base

bind, calculate_and_set_length, #header_id, inherited, #initialize, #ip_header, #ll_header

Methods included from PacketGen::Headerable

#added_to_packet, included, #method_name, #packet, #packet=, #parse?, #protocol_name, #read, #to_s

Constructor Details

This class inherits a constructor from PacketGen::Header::Base

Instance Attribute Details

#reasonInteger

Returns 16-bit reason value.

Returns:

  • (Integer)

    16-bit reason value



177
# File 'lib/packetgen/header/dot11/sub_mngt.rb', line 177

define_attr_before :elements, :reason, BinStruct::Int16le