Class: Nl::Linux::Team::Messages::DoPortListGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Team::Messages::DoPortListGetReply
- 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 list_port])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#list_port ⇒ AttributeSets::ItemPort
499 |
# File 'nl-linux/generated/nl/linux/team.rb', line 499 def list_port; attributes[:"list_port"]&.value; end |
#team_ifindex ⇒ Integer
495 |
# File 'nl-linux/generated/nl/linux/team.rb', line 495 def team_ifindex; attributes[:"team_ifindex"]&.value; end |