Class: Nl::Linux::RtLink::Messages::DumpGetstatsReply

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:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#filter_mask ⇒ Integer

Returns:

  • (Integer)


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

def filter_mask; fixed_header.filter_mask; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end


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

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


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

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

Returns:

  • (String)

See Also:



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

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

Returns:

  • (String)

See Also:



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

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