Class: Racket::L2::EightOTwoDotThree
- Inherits:
-
RacketPart
- Object
- BitStruct
- RacketPart
- Racket::L2::EightOTwoDotThree
- Defined in:
- lib/racket/l2/eightotwodotthree.rb
Overview
802.3 Ethernet. Should always be followed by an LLC header
Instance Attribute Summary
Attributes inherited from RacketPart
Instance Method Summary collapse
-
#fix! ⇒ Object
Fix this layer up prior to sending.
Methods inherited from RacketPart
#autofix?, #initialize, #pretty
Constructor Details
This class inherits a constructor from Racket::RacketPart
Instance Method Details
#fix! ⇒ Object
Fix this layer up prior to sending. For 802.3, just adjusts length
42 43 44 |
# File 'lib/racket/l2/eightotwodotthree.rb', line 42 def fix! self.length = self.payload.length end |