Class: Nl::Linux::RtLink::SubMessages::LinkinfoDataMsg::Ovpn

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::LinkinfoOvpnAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#mode ⇒ Integer

Known enum values are defined in Enums::OvpnMode.

Returns:

  • (Integer)

See Also:



8196
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8196

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