Class: TcpHeader

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/logstash/codecs/sflow/packet_header.rb

Overview

noinspection RubyResolve,RubyResolve

Instance Method Summary collapse

Instance Method Details

#is_options?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/logstash/codecs/sflow/packet_header.rb', line 44

def is_options?
  tcp_header_length.to_i > 5
end