Class: Nl::Linux::Ovpn::Messages::DoPeerGetReply

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

Overview

Retrieve data about existing remote peers (or a specific one)

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Ovpn
ATTRIBUTES =
Ractor.make_shareable(%i[peer])

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

#peer ⇒ AttributeSets::Peer

The peer object containing the attributed of interest for the specific operation



1645
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1645

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