Class: Nl::Linux::Nlctrl::Messages::DumpGetpolicyRequest

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

Overview

Get / dump genetlink policies

Constant Summary collapse

TYPE =
10
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::CtrlAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[family_id family_name op])

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

#family_id ⇒ Integer

Returns:

  • (Integer)

See Also:



616
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 616

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

#family_name ⇒ String

Returns:

  • (String)

See Also:



620
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 620

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

#op ⇒ Integer

Returns:

  • (Integer)

See Also:



624
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 624

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