Class: Nl::Linux::Fou::Messages::DoGetReply

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 ipproto type remcsum_nopartial 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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ipproto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#local_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#local_v6 ⇒ String

Returns:

  • (String)

See Also:



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

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

#peer_port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#peer_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#peer_v6 ⇒ String

Returns:

  • (String)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#remcsum_nopartial ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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