class Fluent::Plugin::NetflowParser::MplsLabel
Public Instance Methods
get()
click to toggle source
# File lib/fluent/plugin/netflow_records.rb, line 64 def get self.label end
set(val)
click to toggle source
# File lib/fluent/plugin/netflow_records.rb, line 59 def set(val) self.label = val >> 4 self.exp = (val & 0b1111) >> 1 self.bottom = val & 0b1 end