Class: Nl::Linux::Nlctrl::Messages::DumpGetfamilyReply

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

Overview

Get / dump genetlink families

Constant Summary collapse

TYPE =
1
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::CtrlAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[family_id family_name version hdrsize maxattr ops mcast_groups])

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:



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

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

#family_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#hdrsize ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#maxattr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mcast_groups ⇒ Array<AttributeSets::McastGroupAttrs>



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

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

#ops ⇒ Array<AttributeSets::OpAttrs>



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

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

#version ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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