Class: Nl::Linux::RtAddr::Messages::DumpGetmulticastReply

Inherits:
Raw::Message
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_addr.rb

Overview

Get / dump IPv4/IPv6 multicast addresses.

Constant Summary collapse

TYPE =
58
FIXED_HEADER =
Structs::Ifaddrmsg
ATTRIBUTE_SET =
AttributeSets::AddrAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[cacheinfo multicast])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

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

#cacheinfo ⇒ Structs::IfaCacheinfo



504
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 504

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

#ifa_family ⇒ Integer

Returns:

  • (Integer)


488
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 488

def ifa_family; fixed_header.ifa_family; end

#ifa_flags ⇒ Integer

Returns:

  • (Integer)


494
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 494

def ifa_flags; fixed_header.ifa_flags; end

#ifa_index ⇒ Integer

Returns:

  • (Integer)


500
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 500

def ifa_index; fixed_header.ifa_index; end

#ifa_prefixlen ⇒ Integer

Returns:

  • (Integer)


491
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 491

def ifa_prefixlen; fixed_header.ifa_prefixlen; end

#ifa_scope ⇒ Integer

Returns:

  • (Integer)


497
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 497

def ifa_scope; fixed_header.ifa_scope; end

#multicast ⇒ String

Returns:

  • (String)

See Also:



508
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 508

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