Class: Nl::Linux::Ethtool::Notifications::MmNtf

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

Overview

Notification for change in MAC Merge configuration.

Constant Summary collapse

TYPE =
43
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Mm
ATTRIBUTES =
Ractor.make_shareable(%i[header pmac_enabled tx_enabled tx_active tx_min_frag_size rx_min_frag_size verify_enabled verify_time max_verify_time stats])

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



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

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

#max_verify_time ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pmac_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_min_frag_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ AttributeSets::MmStat



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

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

#tx_active ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_min_frag_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#verify_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#verify_time ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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