Class: Nl::Linux::Ovpn::Messages::DoPeerSetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Ovpn::Messages::DoPeerSetRequest
- Defined in:
- nl-linux/generated/nl/linux/ovpn.rb
Overview
modify a remote peer
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
2- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::OvpnPeerSetInput
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex peer])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
Index of the ovpn interface to operate on.
-
#peer ⇒ AttributeSets::PeerSetInput
The peer object containing the attributed of interest for the specific operation.
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
#ifindex ⇒ Integer
Index of the ovpn interface to operate on
1607 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1607 def ifindex; attributes[:"ifindex"]&.value; end |
#peer ⇒ AttributeSets::PeerSetInput
The peer object containing the attributed of interest for the specific operation
1612 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1612 def peer; attributes[:"peer"]&.value; end |