Class: PacketGen::Header::SCTP::ECNParameter

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

Overview

ECN parameter. A Parameter who has no value.

Author:

  • Sylvain Daubert

  • LemonTree55

Since:

  • 3.4.0

  • 4.1.0 Subclass of Parameter. No more include ParameterMixin.

Constant Summary

Constants inherited from Parameter

Parameter::TYPES

Instance Method Summary collapse

Methods inherited from Parameter

#from_human, #parameter_name

Methods included from Padded32

#padded?, #to_s

Instance Method Details

#to_human::String

Get human readable description

Since:

  • 3.4.0

  • 4.1.0 Subclass of Parameter. No more include ParameterMixin.



155
156
157
# File 'lib/packetgen/header/sctp/parameter.rb', line 155

def to_human
  "<#{parameter_name}>"
end