Class: Nl::Linux::Ethtool::Messages::DumpTsinfoGetReply

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



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

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

#hwtstamp_phyindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hwtstamp_provider ⇒ AttributeSets::TsHwtstampProvider



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

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

#hwtstamp_source ⇒ Integer

Known enum values are defined in Enums::HwtstampSource.

Returns:

  • (Integer)

See Also:



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

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

#phc_index ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_filters ⇒ AttributeSets::Bitset



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

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

#stats ⇒ AttributeSets::TsStat



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

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

#timestamping ⇒ AttributeSets::Bitset



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

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

#tx_types ⇒ AttributeSets::Bitset



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

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