class PacketGen::Header::TCP::MSS
Maximum Segment Size 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 150 def initialize(options={}) super self[:value] = Types::Int16.new(options[:value]) end
Public Instance Methods
to_human()
click to toggle source
@return [String]
# File lib/packetgen/header/tcp/option.rb, line 156 def to_human "MSS:#{value}" end