Class: Nl::Linux::Nl80211::Messages::DoGetWiphyRequest

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

Overview

Get information about a wiphy or dump a list of all wiphys. Requests to dump get-wiphy should unconditionally include the split-wiphy-dump flag in the request.

Constant Summary collapse

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

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

Returns:

  • (Integer)

See Also:



6354
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 6354

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

#wdev ⇒ Integer

Returns:

  • (Integer)

See Also:



6358
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 6358

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

#wiphy ⇒ Integer

Returns:

  • (Integer)

See Also:



6350
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 6350

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