Class: PacketGen::Header::SCTP::CookiePreservativeParameter

Inherits:
Object
  • Object
show all
Includes:
ParameterMixin
Defined in:
lib/packetgen/header/sctp/parameter.rb

Overview

Cookie Preservative parameter

Author:

  • Sylvain Daubert

Since:

  • 3.4.0

Instance Method Summary collapse

Methods included from ParameterMixin

#parameter_name

Methods included from Padded32

#padded?, #to_s

Instance Method Details

#to_human::String

Returns:

  • (::String)

Since:

  • 3.4.0



172
173
174
# File 'lib/packetgen/header/sctp/parameter.rb', line 172

def to_human
  "<#{parameter_name}: #{value}>"
end