Class: Nl::Linux::RtAddr::Messages::DoGetmulticastReply

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



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

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

#ifa_family ⇒ Integer

Returns:

  • (Integer)


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

def ifa_family; fixed_header.ifa_family; end

#ifa_flags ⇒ Integer

Returns:

  • (Integer)


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

def ifa_flags; fixed_header.ifa_flags; end

#ifa_index ⇒ Integer

Returns:

  • (Integer)


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

def ifa_index; fixed_header.ifa_index; end

#ifa_prefixlen ⇒ Integer

Returns:

  • (Integer)


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

def ifa_prefixlen; fixed_header.ifa_prefixlen; end

#ifa_scope ⇒ Integer

Returns:

  • (Integer)


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

def ifa_scope; fixed_header.ifa_scope; end

#multicast ⇒ String

Returns:

  • (String)

See Also:



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

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