Class: Racket::L2::VTPGeneric
- Inherits:
-
RacketPart
- Object
- BitStruct
- RacketPart
- Racket::L2::VTPGeneric
- Defined in:
- lib/racket/l2/vtp.rb
Overview
This is just a base class from which all VTP messages inherit and should never be used directly
Direct Known Subclasses
VTPAdvertisementRequest, VTPJoin, VTPRaw, VTPSubsetAdvertisement, VTPSummaryAdvertisement
Instance Attribute Summary
Attributes inherited from RacketPart
Instance Method Summary collapse
-
#fix! ⇒ Object
Adjust
domain_length
anddomain
accordingly 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
Adjust domain_length
and domain
accordingly prior to sending
47 48 49 50 |
# File 'lib/racket/l2/vtp.rb', line 47 def fix! self.domain_length = self.domain.length self.domain = self.domain.ljust(32, "\x00") end |