Class: Nl::Linux::Ethtool::Messages::DoTsinfoGetReply

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Overview

Get tsinfo params.

Constant Summary collapse

TYPE =
26
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Tsinfo
ATTRIBUTES =
Ractor.make_shareable(%i[header timestamping tx_types rx_filters phc_index stats hwtstamp_provider hwtstamp_source hwtstamp_phyindex])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

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

#header ⇒ AttributeSets::Header



7699
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7699

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

#hwtstamp_phyindex ⇒ Integer

Returns:

  • (Integer)

See Also:



7732
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7732

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

#hwtstamp_provider ⇒ AttributeSets::TsHwtstampProvider



7723
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7723

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

#hwtstamp_source ⇒ Integer

Known enum values are defined in Enums::HwtstampSource.

Returns:

  • (Integer)

See Also:



7728
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7728

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

#phc_index ⇒ Integer

Returns:

  • (Integer)

See Also:



7715
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7715

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

#rx_filters ⇒ AttributeSets::Bitset



7711
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7711

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

#stats ⇒ AttributeSets::TsStat



7719
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7719

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

#timestamping ⇒ AttributeSets::Bitset



7703
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7703

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

#tx_types ⇒ AttributeSets::Bitset



7707
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 7707

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