Class: PacketGen::Header::Dot11::Data
- Inherits:
-
PacketGen::Header::Dot11
- Object
- Types::Fields
- Base
- PacketGen::Header::Dot11
- PacketGen::Header::Dot11::Data
- Defined in:
- lib/packetgen/header/dot11/data.rb
Overview
IEEE 802.11 data 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 = {}) ⇒ Data
constructor
A new instance of Data.
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 = {}) ⇒ Data
Returns a new instance of Data.
17 18 19 20 21 |
# File 'lib/packetgen/header/dot11/data.rb', line 17 def initialize(={}) super({type: 2}.merge!()) @applicable_fields -= %i(mac4 qos_ctrl ht_ctrl) define_applicable_fields end |