class PacketGen::Header::TCP::ECHOREPLY

Echo Reply TCP option @author Sylvain Daubert

Public Class Methods

new(options={}) click to toggle source

@see Option#initialize

Calls superclass method PacketGen::Header::TCP::Option::new
# File lib/packetgen/header/tcp/option.rb, line 217
def initialize(options={})
  super
  self[:value] = Types::Int32.new(options[:value])
end

Public Instance Methods

to_human() click to toggle source

@return [String]

# File lib/packetgen/header/tcp/option.rb, line 223
def to_human
  "WS:#{value}"
end