Class: Nl::Linux::Team::Messages::DoPortListGetRequest

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

Overview

Get team ports info

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Team
ATTRIBUTES =
Ractor.make_shareable(%i[team_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

#team_ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



482
# File 'nl-linux/generated/nl/linux/team.rb', line 482

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