Class: Nl::Linux::Ovpn::Messages::DoKeySwapRequest

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

Overview

Swap primary and secondary session keys for a specific peer

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
8
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::OvpnKeyconfSwapInput
ATTRIBUTES =
Ractor.make_shareable(%i[ifindex keyconf])

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

#ifindex ⇒ Integer

Index of the ovpn interface to operate on

Returns:

  • (Integer)

See Also:



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

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

#keyconf ⇒ AttributeSets::KeyconfSwapInput

Peer specific cipher configuration



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

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