Class Racket::L2::EightOTwoDotThree
In: lib/racket/l2/eightotwodotthree.rb  (CVS)
Parent: RacketPart

802.3 Ethernet. Should always be followed by an LLC header

Methods

fix!  

Attributes

dst_mac    Destination MAC address
length    Length of the payload
payload    Payload
src_mac    Source MAC address

Public Instance methods

Fix this layer up prior to sending. For 802.3, just adjusts length

[Source]

# File lib/racket/l2/eightotwodotthree.rb, line 42
  def fix!
    self.length = self.payload.length
  end

[Validate]