Class: IPV4Header

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)


88
89
90
# File 'lib/logstash/codecs/sflow/packet_header.rb', line 88

def is_options?
  ip_header_length.to_i > 5
end