Class: Nl::Linux::Netdev::Messages::DoDevGetRequest

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

Overview

Get / dump information about a netdev.

Constant Summary collapse

TYPE =
1
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Dev
ATTRIBUTES =
Ractor.make_shareable(%i[ifindex])

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

#ifindex ⇒ Integer

netdev ifindex

Returns:

  • (Integer)

See Also:



1682
# File 'nl-linux/generated/nl/linux/netdev.rb', line 1682

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