class PacketGen::Header::OSPFv2::LSR
This class handle a LS request, which is composed 3 {Types::Int32} fields:
-
{#type},
-
{#link_state_id},
-
and {#advertising_router}.
@author Sylvain Daubert
Public Instance Methods
human_type()
click to toggle source
Get human-readable type @return [String]
# File lib/packetgen/header/ospfv2/ls_request.rb, line 35 def human_type self[:type].to_human end
to_human()
click to toggle source
@return [String]
# File lib/packetgen/header/ospfv2/ls_request.rb, line 40 def to_human "LSR<#{human_type},#{link_state_id},#{advertising_router}>" end