Class: PacketGen::Header::Dot11::Management
- Inherits:
-
PacketGen::Header::Dot11
- Object
- Types::Fields
- Base
- PacketGen::Header::Dot11
- PacketGen::Header::Dot11::Management
- Defined in:
- lib/packetgen/header/dot11/management.rb
Overview
IEEE 802.11 management frame header
Constant Summary
Constants inherited from PacketGen::Header::Dot11
Instance Attribute Summary
Attributes inherited from PacketGen::Header::Dot11
#body, #fcs, #frame_ctrl, #from_ds, #ht_ctrl, #id, #mac1, #mac2, #mac3, #mac4, #md, #mf, #order, #proto_version, #pwmngt, #qos_ctrl, #retry, #sequence_ctrl, #subtype, #to_ds, #type, #wep
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Management
constructor
A new instance of Management.
Methods inherited from PacketGen::Header::Dot11
#calc_checksum, #fields, #human_type, #inspect, #old_fields, #old_read, #read, #to_s, #to_w
Methods inherited from Base
bind_header, #header_id, inherited, #ip_header, known_headers, #parse?, #protocol_name
Methods inherited from Types::Fields
#[], #[]=, #body=, define_bit_fields_on, define_field, define_field_after, define_field_before, #fields, #force_binary, inherited, #inspect, #read, #sz, #to_h, #to_s
Constructor Details
#initialize(options = {}) ⇒ Management
Returns a new instance of Management.
17 18 19 20 21 |
# File 'lib/packetgen/header/dot11/management.rb', line 17 def initialize(={}) super({type: 0}.merge!()) @applicable_fields -= i(mac4 qos_ctrl ht_ctrl) define_applicable_fields end |