Class: Nl::Linux::Nlctrl::Messages::DoGetfamilyReply

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:



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

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

#family_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#hdrsize ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#maxattr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mcast_groups ⇒ Array<AttributeSets::McastGroupAttrs>



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

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

#ops ⇒ Array<AttributeSets::OpAttrs>



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

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

#version ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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