Class: Nl::Linux::Nl80211::Messages::DoGetInterfaceReply

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

Overview

Get information about an interface or dump a list of all interfaces

Constant Summary collapse

TYPE =
7
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Nl80211Attrs
ATTRIBUTES =
Ractor.make_shareable(%i[wiphy ifindex ifname iftype mac generation x_4addr wdev txq_stats])

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

#generation ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ifname ⇒ String

Returns:

  • (String)

See Also:



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

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

#iftype ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mac ⇒ String

Returns:

  • (String)

See Also:



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

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

#txq_stats ⇒ AttributeSets::TxqStatsAttrs



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

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

#wdev ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#wiphy ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#x_4addr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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