Class: Nl::Linux::Fou::Messages::DoGetRequest

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

Overview

Get tunnel info.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Fou
ATTRIBUTES =
Ractor.make_shareable(%i[port af local_v4 local_v6 peer_v4 peer_v6 peer_port ifindex])

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

#af ⇒ Integer

Returns:

  • (Integer)

See Also:



301
# File 'nl-linux/generated/nl/linux/fou.rb', line 301

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



325
# File 'nl-linux/generated/nl/linux/fou.rb', line 325

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

#local_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



305
# File 'nl-linux/generated/nl/linux/fou.rb', line 305

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

#local_v6 ⇒ String

Returns:

  • (String)

See Also:



309
# File 'nl-linux/generated/nl/linux/fou.rb', line 309

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

#peer_port ⇒ Integer

Returns:

  • (Integer)

See Also:



321
# File 'nl-linux/generated/nl/linux/fou.rb', line 321

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

#peer_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



313
# File 'nl-linux/generated/nl/linux/fou.rb', line 313

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

#peer_v6 ⇒ String

Returns:

  • (String)

See Also:



317
# File 'nl-linux/generated/nl/linux/fou.rb', line 317

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



297
# File 'nl-linux/generated/nl/linux/fou.rb', line 297

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