Class: Nl::Linux::Nlctrl::Messages::DumpGetpolicyReply

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 policy op_policy])

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:



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

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

#op_policy ⇒ Hash<Integer, AttributeSets::OpPolicyAttrs>



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

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

#policy ⇒ Hash<Integer, Hash<Integer, AttributeSets::PolicyAttrs>>

Returns:

See Also:



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

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