Class: Dot11::Radiotap
Instance Attribute Summary collapse
-
#pad ⇒ Object
Returns the value of attribute pad.
-
#revision ⇒ Object
Returns the value of attribute revision.
-
#stuff ⇒ Object
Returns the value of attribute stuff.
-
#stuff_length ⇒ Object
Returns the value of attribute stuff_length.
Instance Method Summary collapse
Methods inherited from Packet
#=~, #initialize, new, older_new, #to_filter
Constructor Details
This class inherits a constructor from Dot11::Packet
Instance Attribute Details
#pad ⇒ Object
Returns the value of attribute pad.
5 6 7 |
# File 'lib/dot11/radiotap.rb', line 5 def pad @pad end |
#revision ⇒ Object
Returns the value of attribute revision.
5 6 7 |
# File 'lib/dot11/radiotap.rb', line 5 def revision @revision end |
#stuff ⇒ Object
Returns the value of attribute stuff.
5 6 7 |
# File 'lib/dot11/radiotap.rb', line 5 def stuff @stuff end |
#stuff_length ⇒ Object
Returns the value of attribute stuff_length.
5 6 7 |
# File 'lib/dot11/radiotap.rb', line 5 def stuff_length @stuff_length end |
Instance Method Details
#data ⇒ Object
7 8 9 |
# File 'lib/dot11/radiotap.rb', line 7 def data raise "This space intentionally left blank" end |
#payload ⇒ Object
18 19 20 21 22 |
# File 'lib/dot11/radiotap.rb', line 18 def payload return @payload if @payload @payload = Dot11.new(@rest) end |
#to_s ⇒ Object
11 12 13 14 15 16 |
# File 'lib/dot11/radiotap.rb', line 11 def to_s "Radiotap\n" + "-------------\n" + "payload:\n" + payload.to_s.indent(6) end |