Class: Nl::Linux::RtLink::AttributeSets::StatsAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::RtLink::AttributeSets::StatsAttrs
- Defined in:
- nl-linux/generated/nl/linux/rt_link.rb
Defined Under Namespace
Classes: AfSpec, Attribute, Link64, LinkOffloadXstats, LinkXstats, LinkXstatsSlave
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #af_spec ⇒ String
- #link_64 ⇒ Structs::RtnlLinkStats64
- #link_offload_xstats ⇒ AttributeSets::LinkOffloadXstats
- #link_xstats ⇒ String
- #link_xstats_slave ⇒ String
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
6560 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6560 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
6566 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6566 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#af_spec ⇒ String
6553 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6553 def af_spec; self[:"af_spec"]&.value; end |
#link_64 ⇒ Structs::RtnlLinkStats64
6537 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6537 def link_64; self[:"link_64"]&.value; end |
#link_offload_xstats ⇒ AttributeSets::LinkOffloadXstats
6549 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6549 def link_offload_xstats; self[:"link_offload_xstats"]&.value; end |
#link_xstats ⇒ String
6541 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6541 def link_xstats; self[:"link_xstats"]&.value; end |
#link_xstats_slave ⇒ String
6545 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 6545 def link_xstats_slave; self[:"link_xstats_slave"]&.value; end |