Class: Nl::Linux::Ethtool::Messages::DoPseSetRequest

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

Overview

Set Power Sourcing Equipment params.

Constant Summary collapse

TYPE =
37
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Pse
ATTRIBUTES =
Ractor.make_shareable(%i[header podl_pse_admin_control c33_pse_admin_control c33_pse_avail_pw_limit pse_prio])

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

#c33_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_avail_pw_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#podl_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_prio ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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