Class: Nl::Linux::RtLink::Messages::DoGetstatsReply

Inherits:
Raw::Message
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Overview

Get / dump link stats.

Constant Summary collapse

TYPE =
92
FIXED_HEADER =
Structs::IfStatsMsg
ATTRIBUTE_SET =
AttributeSets::StatsAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[link_64 link_xstats link_xstats_slave link_offload_xstats af_spec])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#af_spec ⇒ String

Returns:

  • (String)

See Also:



9482
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9482

def af_spec; attributes[:"af_spec"]&.value; end

#family ⇒ Integer

Returns:

  • (Integer)


9456
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9456

def family; fixed_header.family; end

#filter_mask ⇒ Integer

Returns:

  • (Integer)


9462
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9462

def filter_mask; fixed_header.filter_mask; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


9459
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9459

def ifindex; fixed_header.ifindex; end


9466
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9466

def link_64; attributes[:"link_64"]&.value; end


9478
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9478

def link_offload_xstats; attributes[:"link_offload_xstats"]&.value; end

Returns:

  • (String)

See Also:



9470
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9470

def link_xstats; attributes[:"link_xstats"]&.value; end

Returns:

  • (String)

See Also:



9474
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 9474

def link_xstats_slave; attributes[:"link_xstats_slave"]&.value; end