Class: PacketGen::Header::OSPFv3::LSA
- Defined in:
- lib/packetgen/header/ospfv3/lsa.rb
Overview
Constant Summary
Constants inherited from LSAHeader
PacketGen::Header::OSPFv3::LSAHeader::TYPES
Instance Attribute Summary collapse
-
#body ⇒ String
LSA body.
Attributes inherited from LSAHeader
#advertising_router, #age, #checksum, #length, #link_state_id, #sequence_number, #type
Method Summary
Methods inherited from LSAHeader
#calc_checksum, #calc_length, #human_type, #to_human, #to_lsa_header
Instance Attribute Details
#body ⇒ String
LSA body
66 67 |
# File 'lib/packetgen/header/ospfv3/lsa.rb', line 66 define_attr :body, BinStruct::String, builder: ->(h, t) { t.new(length_from: -> { h.length - 20 }) } |